mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +08:00
fix Desciption doc
This commit is contained in:
parent
2a9da95a92
commit
584713bc62
@ -7,7 +7,7 @@ title:
|
||||
|
||||
## zh-CN
|
||||
|
||||
带边框和背景颜色列表。
|
||||
垂直带边框和背景颜色的列表。
|
||||
|
||||
## en-US
|
||||
|
||||
|
@ -7,7 +7,7 @@ title:
|
||||
|
||||
## zh-CN
|
||||
|
||||
简单的展示。
|
||||
垂直的列表。
|
||||
|
||||
## en-US
|
||||
|
||||
|
@ -21,7 +21,7 @@ Commonly displayed on the details page.
|
||||
| bordered | whether to display the border | boolean | false |
|
||||
| column | the number of `DescriptionItems` in a row,could be a number or a object like `{ xs: 8, sm: 16, md: 24}`,(Only set `bordered={true}` to take effect) | number | 3 |
|
||||
| size | set the size of the list. Can be set to `middle`,`small`, or not filled | `default | middle | small` | false |
|
||||
| layout | Define description layout | `horizontal | vertical` | 'horizontal' |
|
||||
| layout | Define description layout | `horizontal | vertical` | `horizontal` |
|
||||
|
||||
### DescriptionItem
|
||||
|
||||
|
@ -22,7 +22,7 @@ cols: 1
|
||||
| bordered | 是否展示边框 | boolean | false |
|
||||
| column | 一行的 `DescriptionItems` 数量,可以写成像素值或支持响应式的对象写法 `{ xs: 8, sm: 16, md: 24}` | number | 3 |
|
||||
| size | 设置列表的大小。可以设置为 `middle` 、`small`, 或不填(只有设置 `bordered={true}` 生效) | `default | middle | small` | false |
|
||||
| layout | 描述布局 | `horizontal | vertical` | 'horizontal' |
|
||||
| layout | 描述布局 | `horizontal | vertical` | `horizontal` |
|
||||
|
||||
### DescriptionItem
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user