mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
📝 comment chinese docs fixes
This commit is contained in:
parent
fc97e0becf
commit
c6821cb385
@ -1,17 +1,17 @@
|
||||
---
|
||||
order: 1
|
||||
title:
|
||||
zh-CN: 用法用名单
|
||||
zh-CN: 配合 List 组件
|
||||
en-US: Usage with list
|
||||
---
|
||||
|
||||
## zh-CN
|
||||
|
||||
基本评论使用`antd` List组件来呈现一系列注释。
|
||||
配合 List 组件展现评论列表。
|
||||
|
||||
## en-US
|
||||
|
||||
A basic comment used with `antd` List component to render a series of comments.
|
||||
Displaying a series of comments using the `antd` List Component.
|
||||
|
||||
````jsx
|
||||
import { Comment, Tooltip, List } from 'antd';
|
||||
|
@ -2,16 +2,16 @@
|
||||
order: 2
|
||||
title:
|
||||
zh-CN: 嵌套评论
|
||||
en-US: Nested comment
|
||||
en-US: Nested comments
|
||||
---
|
||||
|
||||
## zh-CN
|
||||
|
||||
评论可以嵌套
|
||||
评论可以嵌套。
|
||||
|
||||
## en-US
|
||||
|
||||
Comment can be nested
|
||||
Comments can be nested.
|
||||
|
||||
````jsx
|
||||
import { Comment, Avatar } from 'antd';
|
||||
@ -39,6 +39,5 @@ ReactDOM.render(
|
||||
<ExampleComment />
|
||||
</ExampleComment>
|
||||
</ExampleComment>,
|
||||
mountNode
|
||||
);
|
||||
mountNode);
|
||||
````
|
||||
|
@ -5,11 +5,11 @@ title: Comment
|
||||
cols: 1
|
||||
---
|
||||
|
||||
Single comment component.
|
||||
A comment displays user feedback and discussion to website content.
|
||||
|
||||
## When To Use
|
||||
|
||||
Comments can be used to enable discussions on an entity for example page, blog post, issue or other.
|
||||
Comments can be used to enable discussions on an entity such as a page, blog post, issue or other.
|
||||
|
||||
## API
|
||||
|
||||
|
@ -6,7 +6,7 @@ subtitle: 评论
|
||||
cols: 1
|
||||
---
|
||||
|
||||
单一评论组件。
|
||||
对网站内容的反馈、评价和讨论。
|
||||
|
||||
## 何时使用
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user