mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
docs: fix Description colon (#49940)
This commit is contained in:
parent
ad70505a10
commit
290d10c8a2
@ -81,7 +81,7 @@ Common props ref:[Common props](/docs/react/common-props)
|
|||||||
| Property | Description | Type | Default | Version |
|
| Property | Description | Type | Default | Version |
|
||||||
| --- | --- | --- | --- | --- |
|
| --- | --- | --- | --- | --- |
|
||||||
| 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. Indicates whether the colon after the label is displayed | 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 \| [Record<Breakpoint, number>](https://github.com/ant-design/ant-design/blob/84ca0d23ae52e4f0940f20b0e22eabe743f90dca/components/descriptions/index.tsx#L111C21-L111C56) | 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 \| [Record<Breakpoint, number>](https://github.com/ant-design/ant-design/blob/84ca0d23ae52e4f0940f20b0e22eabe743f90dca/components/descriptions/index.tsx#L111C21-L111C56) | 3 | |
|
||||||
| contentStyle | Customize content 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 |
|
||||||
|
@ -82,7 +82,7 @@ const items: DescriptionsProps['items'] = [
|
|||||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||||
| --- | --- | --- | --- | --- |
|
| --- | --- | --- | --- | --- |
|
||||||
| bordered | 是否展示边框 | boolean | false | |
|
| bordered | 是否展示边框 | boolean | false | |
|
||||||
| colon | 配置 `Descriptions.Item` 的 `colon` 的默认值 | boolean | true | |
|
| colon | 配置 `Descriptions.Item` 的 `colon` 的默认值。表示是否显示 label 后面的冒号 | boolean | true | |
|
||||||
| column | 一行的 `DescriptionItems` 数量,可以写成像素值或支持响应式的对象写法 `{ xs: 8, sm: 16, md: 24}` | number \| [Record<Breakpoint, number>](https://github.com/ant-design/ant-design/blob/84ca0d23ae52e4f0940f20b0e22eabe743f90dca/components/descriptions/index.tsx#L111C21-L111C56) | 3 | |
|
| column | 一行的 `DescriptionItems` 数量,可以写成像素值或支持响应式的对象写法 `{ xs: 8, sm: 16, md: 24}` | number \| [Record<Breakpoint, number>](https://github.com/ant-design/ant-design/blob/84ca0d23ae52e4f0940f20b0e22eabe743f90dca/components/descriptions/index.tsx#L111C21-L111C56) | 3 | |
|
||||||
| contentStyle | 自定义内容样式 | CSSProperties | - | 4.10.0 |
|
| contentStyle | 自定义内容样式 | CSSProperties | - | 4.10.0 |
|
||||||
| extra | 描述列表的操作区域,显示在右上方 | ReactNode | - | 4.5.0 |
|
| extra | 描述列表的操作区域,显示在右上方 | ReactNode | - | 4.5.0 |
|
||||||
|
Loading…
Reference in New Issue
Block a user