mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
docs: fix typo in descriptions API (#31742)
This commit is contained in:
parent
f6c3626886
commit
05d7176c74
@ -21,7 +21,7 @@ Commonly displayed on the details page.
|
|||||||
| bordered | Whether to display the border | boolean | false | |
|
| bordered | Whether to display the border | boolean | false | |
|
||||||
| colon | Change default props `colon` value of Descriptions.Item | boolean | true | |
|
| colon | Change default props `colon` value of Descriptions.Item | boolean | true | |
|
||||||
| 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 | |
|
| 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 | |
|
||||||
| contentStyle | Customize label style | CSSProperties | - | 4.10.0 |
|
| contentStyle | Customize content style | CSSProperties | - | 4.10.0 |
|
||||||
| extra | The action area of the description list, placed at the top-right | ReactNode | - | 4.5.0 |
|
| extra | The action area of the description list, placed at the top-right | ReactNode | - | 4.5.0 |
|
||||||
| labelStyle | Customize label style | CSSProperties | - | 4.10.0 |
|
| labelStyle | Customize label style | CSSProperties | - | 4.10.0 |
|
||||||
| layout | Define description layout | `horizontal` \| `vertical` | `horizontal` | |
|
| layout | Define description layout | `horizontal` \| `vertical` | `horizontal` | |
|
||||||
@ -32,7 +32,7 @@ Commonly displayed on the details page.
|
|||||||
|
|
||||||
| Property | Description | Type | Default | Version |
|
| Property | Description | Type | Default | Version |
|
||||||
| --- | --- | --- | --- | --- |
|
| --- | --- | --- | --- | --- |
|
||||||
| contentStyle | Customize label style | CSSProperties | - | 4.9.0 |
|
| contentStyle | Customize content style | CSSProperties | - | 4.9.0 |
|
||||||
| label | The description of the content | ReactNode | - | |
|
| label | The description of the content | ReactNode | - | |
|
||||||
| labelStyle | Customize label style | CSSProperties | - | 4.9.0 |
|
| labelStyle | Customize label style | CSSProperties | - | 4.9.0 |
|
||||||
| span | The number of columns included | number | 1 | |
|
| span | The number of columns included | number | 1 | |
|
||||||
|
Loading…
Reference in New Issue
Block a user