docs: fix docs error (#40645)

This commit is contained in:
lijianan 2023-02-09 00:19:08 +08:00 committed by GitHub
parent 0e974511ad
commit 9ad1a8e091
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 11 deletions

View File

@ -45,19 +45,17 @@ return (
### Timeline
Timeline
| Property | Description | Type | Default |
| --- | --- | --- | --- | --- |
| --- | --- | --- | --- |
| mode | By sending `alternate` the timeline will distribute the nodes to the left and right | `left` \| `alternate` \| `right` | - |
| pending | Set the last ghost node's existence or its content | boolean \| ReactNode | false |
| pendingDot | Set the dot of the last ghost node when pending is true | ReactNode | <LoadingOutlined /> |
| pendingDot | Set the dot of the last ghost node when pending is true | ReactNode | <LoadingOutlined /> |
| reverse | Whether reverse nodes or not | boolean | false |
| items | 选项配置 | [Items](#Items) | [] | 5.2.0 |
| items | Each node of timeline | [Items](#Items)[] | 5.2.0 |
### Items
Node of timeline
Node of timeline.
| Property | Description | Type | Default |
| --- | --- | --- | --- |

View File

@ -46,15 +46,13 @@ return (
### Timeline
时间轴。
| 参数 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- | --- |
| --- | --- | --- | --- |
| mode | 通过设置 `mode` 可以改变时间轴和内容的相对位置 | `left` \| `alternate` \| `right` | - |
| pending | 指定最后一个幽灵节点是否存在或内容 | boolean \| ReactNode | false |
| pendingDot | 当最后一个幽灵节点存在時,指定其时间图点 | ReactNode | <LoadingOutlined /> |
| pendingDot | 当最后一个幽灵节点存在時,指定其时间图点 | ReactNode | <LoadingOutlined /> |
| reverse | 节点排序 | boolean | false |
| items | 选项配置 | [Items](#Items) | [] | 5.2.0 |
| items | 选项配置 | [Items](#Items)[] | 5.2.0 |
### Items