📝 update docs

pull/13084/head
ilanus 6 years ago committed by 偏右
parent a0f03c819f
commit e409618600

@ -16,8 +16,8 @@ Comments can be used to enable discussions on an entity for example page, blog p
| Property | Description | Type | Default |
| -------- | ----------- | ---- | ------- |
| actions | List of action items rendered below the comment content | Array<ReactNode> | - |
| author | The element to display as the comment author | ReactNode | - |
| avatar | The element to display as the comment avatar - generally an antd `Avatar` | ReactNode | - |
| author | The element to display as the comment author | string\|ReactNode | - |
| avatar | The element to display as the comment avatar - generally an antd `Avatar` or src | string\|ReactNode | - |
| children | Nested comments should be provided as children of the Comment | ReactNode | - |
| content | The main content of the comment | ReactNode | - |
| datetime | A datetime element containing the time to be displayed | ReactNode | - |
| content | The main content of the comment | string\|ReactNode | - |
| datetime | A datetime element containing the time to be displayed | string\|ReactNode | - |

@ -17,8 +17,8 @@ cols: 1
| Property | Description | Type | Default |
| -------- | ----------- | ---- | ------- |
| actions | 在评论内容下面呈现的操作项列表 | Array<ReactNode> | - |
| author | 要显示为注释作者的元素 | ReactNode | - |
| avatar | 要显示为评论头像的元素 - 通常是antd `Avatar` | ReactNode | - |
| author | 要显示为注释作者的元素 | string\|ReactNode | - |
| avatar | 要显示为评论头像的元素 - 通常是antd `Avatar` 或者src | string\|ReactNode | - |
| children | 嵌套注释应作为注释的子项提供 | ReactNode | - |
| content | 评论的主要内容 | ReactNode | - |
| datetime | 展示时间描述 | ReactNode | - |
| content | 评论的主要内容 | string\|ReactNode | - |
| datetime | 展示时间描述 | string\|ReactNode | - |

Loading…
Cancel
Save