diff --git a/components/timeline/doc/index.en-US.md b/components/timeline/doc/index.en-US.md index a421041da96..7672698807a 100644 --- a/components/timeline/doc/index.en-US.md +++ b/components/timeline/doc/index.en-US.md @@ -44,7 +44,7 @@ Node of timeline | Property | Description | Type | Default | | -------- | ----------- | ---- | ------- | -| `[nzColor]` | Set the circle's color to `'blue' \| 'red' \| 'green' \| 'gray'` or other custom colors (css color) | `string` | `blue` | +| `[nzColor]` | Set the circle's color to `'blue' \| 'red' \| 'green' \| 'gray'`| `string` | `blue` | | `[nzDot]` | Customize timeline dot | `string \| TemplateRef` | - | | `[nzPosition]` | Customize position, only works when `nzMode` is `custom` | `'left' \| 'right'` | - | -| `[NzLabel]` | Set the label | `string \| TemplateRef` | - | \ No newline at end of file +| `[nzLabel]` | Set the label | `string \| TemplateRef` | - | diff --git a/components/timeline/doc/index.zh-CN.md b/components/timeline/doc/index.zh-CN.md index 3775231df44..8d6685e546f 100644 --- a/components/timeline/doc/index.zh-CN.md +++ b/components/timeline/doc/index.zh-CN.md @@ -45,7 +45,7 @@ import { NzTimelineModule } from 'ng-zorro-antd/timeline'; | 参数 | 说明 | 类型 | 默认值 | | --- | --- | --- | --- | -| `[nzColor]` | 指定圆圈颜色 `'blue' \| 'red' \| 'green' \| 'gray'`,或自定义的色值 (CSS 颜色) | `string` | blue | +| `[nzColor]` | 指定圆圈颜色 `'blue' \| 'red' \| 'green' \| 'gray'` | `string` | blue | | `[nzDot]` | 自定义时间轴点 | `string \| TemplateRef` | - | | `[nzPosition]` | 自定义节点位置,仅当 `nzMode` 为 `custom` 时有效 | `'left' \| 'right'` | - | | `[NzLabel]` | 设置标签 | `string \| TemplateRef` | - |