Skip to content

Commit

Permalink
docs(module:timeline): fix typo (#6911)
Browse files Browse the repository at this point in the history
* docs(timeline): fix typo

 docs(timeline): fix typo

* docs(timeline): fix typo

docs(timeline): fix typo

* Update components/timeline/doc/index.en-US.md

Co-authored-by: diye <35769340+diyews@users.noreply.github.com>

Co-authored-by: wendell <wendellhu95@gmail.com>
Co-authored-by: diye <35769340+diyews@users.noreply.github.com>
  • Loading branch information
3 people authored Aug 22, 2021
1 parent d392b2e commit cbbb9d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/timeline/doc/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<void>` | - |
| `[nzPosition]` | Customize position, only works when `nzMode` is `custom` | `'left' \| 'right'` | - |
| `[NzLabel]` | Set the label | `string \| TemplateRef<void>` | - |
| `[nzLabel]` | Set the label | `string \| TemplateRef<void>` | - |
2 changes: 1 addition & 1 deletion components/timeline/doc/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<void>` | - |
| `[nzPosition]` | 自定义节点位置,仅当 `nzMode``custom` 时有效 | `'left' \| 'right'` | - |
| `[NzLabel]` | 设置标签 | `string \| TemplateRef<void>` | - |

0 comments on commit cbbb9d0

Please sign in to comment.