Skip to content

Commit

Permalink
docs: fix typo (#8977)
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk authored Jan 18, 2025
1 parent 3fcec91 commit 724627e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/rate/doc/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { NzRateModule } from 'ng-zorro-antd/rate';
| `[nzAllowClear]` | whether to allow clear when click again | `boolean` | `true` ||
| `[nzAllowHalf]` | whether to allow semi selection | `boolean` | `false` ||
| `[nzAutoFocus]` | get focus when component mounted | `boolean` | `false` |
| `[nzCharacter]` | custom character of rate | `TemplateRef<void>` | `<span nz-icon nzType="star"></span>` |
| `[nzCharacter]` | custom character of rate | `TemplateRef<void>` | `<nz-icon nzType="star" />` |
| `[nzCount]` | star count | `number` | `5` |
| `[nzDisabled]` | read only, unable to interact | `boolean` | `false` |
| `[nzTooltips]` | Customize tooltip by each character | `string[]` | `[]` |
Expand Down
2 changes: 1 addition & 1 deletion components/rate/doc/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { NzRateModule } from 'ng-zorro-antd/rate';
| `[nzAllowClear]` | 是否允许再次点击后清除 | `boolean` | `true` ||
| `[nzAllowHalf]` | 是否允许半选 | `boolean` | `false` ||
| `[nzAutoFocus]` | 自动获取焦点 | `boolean` | `false` |
| `[nzCharacter]` | 自定义字符 | `TemplateRef<void>` | `<span nz-icon nzType="star"></span>` |
| `[nzCharacter]` | 自定义字符 | `TemplateRef<void>` | `<nz-icon nzType="star" />` |
| `[nzCount]` | star 总数 | `number` | `5` |
| `[nzDisabled]` | 只读,无法进行交互 | `boolean` | `false` |
| `[nzTooltips]` | 自定义每项的提示信息 | `string[]` | `[]` |
Expand Down
2 changes: 1 addition & 1 deletion components/timeline/doc/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Timeline
| Property | Description | Type | Default |
| ---------------- | ----------------------------------------------------------------------------------- | ---------------------------------------------- | ---------------------------------------- |
| `[nzPending]` | Set the last ghost node's existence or its content | `string\|boolean\|TemplateRef<void>` | `false` |
| `[nzPendingDot]` | Set the dot of the last ghost node when pending is true | `string\|TemplateRef<void>` | `<span nz-icon nzType="loading"></span>` |
| `[nzPendingDot]` | Set the dot of the last ghost node when pending is true | `string\|TemplateRef<void>` | `<nz-icon nzType="loading" />` |
| `[nzReverse]` | Reverse nodes or not | `boolean` | `false` |
| `[nzMode]` | By sending `alternate` the timeline will distribute the nodes to the left and right | `'left' \| 'alternate' \| 'right' \| 'custom'` | - |

Expand Down
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 @@ -35,7 +35,7 @@ import { NzTimelineModule } from 'ng-zorro-antd/timeline';
| 参数 | 说明 | 类型 | 默认值 |
| ---------------- | ---------------------------------------- | ---------------------------------------------- | ---------------------------------------- |
| `[nzPending]` | 指定最后一个幽灵节点是否存在或内容 | `string \| boolean \| TemplateRef<void>` | `false` |
| `[nzPendingDot]` | 当最后一个幽灵节点存在時,指定其时间图点 | `string \| TemplateRef<void>` | `<span nz-icon nzType="loading"></span>` |
| `[nzPendingDot]` | 当最后一个幽灵节点存在時,指定其时间图点 | `string \| TemplateRef<void>` | `<nz-icon nzType="loading" />` |
| `[nzReverse]` | 节点排序 | `boolean` | `false` |
| `[nzMode]` | 可以改变时间轴和内容的相对位置 | `'left' \| 'alternate' \| 'right' \| 'custom'` | - |

Expand Down

0 comments on commit 724627e

Please sign in to comment.