diff --git a/components/divider/index.en-US.md b/components/divider/index.en-US.md index 2b9487fd7..0190a6dfb 100644 --- a/components/divider/index.en-US.md +++ b/components/divider/index.en-US.md @@ -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` | | diff --git a/components/divider/index.zh-CN.md b/components/divider/index.zh-CN.md index 78fbe3972..8e179ef01 100644 --- a/components/divider/index.zh-CN.md +++ b/components/divider/index.zh-CN.md @@ -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` | |