Skip to content

Commit

Permalink
docs: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Jun 28, 2019
1 parent 573e677 commit e9b8363
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 12 deletions.
16 changes: 10 additions & 6 deletions components/comment/doc/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,14 @@ import { NzCommentModule } from 'ng-zorro-antd/comment';
| [nzAuthor] | The element to display as the comment author | `string \| TemplateRef<void>` | - |
| [nzDatetime] | A datetime element containing the time to be displayed | `string \| TemplateRef<void>` | - |

### Comment sections
### [nz-comment-avatar]

| Element | Description |
| ----- | ----------- |
| `<nz-avatar nz-comment-avatar>` | The element to display as the comment avatar |
| `<nz-comment-content>` | The main content of the comment |
| `<nz-comment-action>` | The element items rendered below the comment content |
The element to display as the comment avatar.

### nz-comment-content

The main content of the comment.

### nz-comment-action

The element items rendered below the comment content.
16 changes: 10 additions & 6 deletions components/comment/doc/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,14 @@ import { NzCommentModule } from 'ng-zorro-antd/comment';
| [nzAuthor] | 显示评论的作者 | `string \| TemplateRef<void>` | - |
| [nzDatetime] | 展示时间描述 | `string \| TemplateRef<void>` | - |

### 评论组成部分
### [nz-comment-avatar]

| 元素 | 说明 |
| ----- | ----------- |
| `<nz-avatar nz-comment-avatar>` | 要显示为评论头像的元素 |
| `<nz-comment-content>` | 评论的主要内容 |
| `<nz-comment-action>` | 在评论内容下面呈现的操作项 |
要显示为评论头像的元素。

### nz-comment-content

评论的主要内容。

### nz-comment-action

在评论内容下面呈现的操作项。

0 comments on commit e9b8363

Please sign in to comment.