mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 13:47:02 +08:00
fb0b4f0fc9
* docs: add api first appearance * docs: fix auto-complete doc * docs: replace Version Added with Version * docs: date picker common method * docs: date picker common method * docs: tree * docs: remove meaningless 3.0.0
955 B
955 B
category | type | title | cols |
---|---|---|---|
Components | Data Display | Comment | 1 |
A comment displays user feedback and discussion to website content.
When To Use
Comments can be used to enable discussions on an entity such as a page, blog post, issue or other.
API
Property | Description | Type | Default | Version |
---|---|---|---|---|
actions | List of action items rendered below the comment content | Array | - | 3.11.0 |
author | The element to display as the comment author | string|ReactNode | - | 3.11.0 |
avatar | The element to display as the comment avatar - generally an antd Avatar or src |
string|ReactNode | - | 3.11.0 |
children | Nested comments should be provided as children of the Comment | ReactNode | - | 3.11.0 |
content | The main content of the comment | string|ReactNode | - | 3.11.0 |
datetime | A datetime element containing the time to be displayed | string|ReactNode | - | 3.11.0 |