mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 12:07:54 +08:00
docs(descriptions): [API] fix type definition (#5459)
This commit is contained in:
parent
4c83c64812
commit
e82e4bed3e
@ -16,8 +16,8 @@ A divider line separates different content.
|
||||
|
||||
| Property | Description | Type | Default | Version |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| dashed | whether line is dashed | Boolean | false | |
|
||||
| orientation | position of title inside divider | enum: `left` `right` `center` | `center` | |
|
||||
| dashed | whether line is dashed | boolean | false | |
|
||||
| orientation | position of title inside divider | `left` \| `right` \| `center` | `center` | |
|
||||
| orientationMargin | The margin-left/right between the title and its closest border, while the `orientation` must be `left` or `right` | string \| number | - | 3.0 |
|
||||
| plain | Divider text show as plain style | boolean | true | 2.2.0 |
|
||||
| type | direction type of divider | enum: `horizontal` `vertical` | `horizontal` | |
|
||||
| type | direction type of divider | `horizontal` \| `vertical` | `horizontal` | |
|
||||
|
@ -17,8 +17,8 @@ cover: https://gw.alipayobjects.com/zos/alicdn/5swjECahe/Divider.svg
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| dashed | 是否虚线 | Boolean | false | |
|
||||
| orientation | 分割线标题的位置 | enum: `left` `right` | `center` | |
|
||||
| dashed | 是否虚线 | boolean | false | |
|
||||
| orientation | 分割线标题的位置 | `left` \| `right` \| `center` | `center` |
|
||||
| orientationMargin | 标题和最近 left/right 边框之间的距离,去除了分割线,同时 `orientation` 必须为 `left` 或 `right` | string \| number | - | 3.0 |
|
||||
| plain | 文字是否显示为普通正文样式 | boolean | false | 2.2.0 |
|
||||
| type | 水平还是垂直类型 | enum: `horizontal` `vertical` | `horizontal` | |
|
||||
| type | 水平还是垂直类型 | `horizontal` \| `vertical` | `horizontal` | |
|
||||
|
Loading…
Reference in New Issue
Block a user