ant-design/components/comment/index.en-US.md
seognil LC c93bd326f4 docs(update): removed 3.x version description in 4.0-prepare (#19827)
* docs(update): removed 3.x version description in 4.0-prepare

ref #19815

* docs(update): update docs

remove carousel/index.zh-CN.md empty version column

* docs(update): update docs

remove carousel/index.en-US.md empty version column
2019-11-20 20:31:43 +08:00

24 lines
919 B
Markdown

---
category: Components
type: Data Display
title: Comment
cols: 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<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 | string\|ReactNode | - | |
| datetime | A datetime element containing the time to be displayed | string\|ReactNode | - | |