You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
---
|
|
|
|
category: Components
|
|
|
|
type: Other
|
|
|
|
title: Divider
|
|
|
|
subtitle: 分割线
|
|
|
|
---
|
|
|
|
|
|
|
|
区隔内容的分割线。
|
|
|
|
|
|
|
|
## 何时使用
|
|
|
|
|
|
|
|
- 对不同章节的文本段落进行分割。
|
|
|
|
- 对行内文字/链接进行分割,例如表格的操作列。
|
|
|
|
|
|
|
|
## API
|
|
|
|
|
|
|
|
| 参数 | 说明 | 类型 | 默认值 |
|
|
|
|
| --- | --- | --- | --- |
|
|
|
|
| className | 分割线样式类 | string | - |
|
|
|
|
| dashed | 是否虚线 | boolean | false |
|
|
|
|
| orientation | 分割线标题的位置 | enum: `left` `right` | `center` |
|
|
|
|
| style | 分割线样式对象 | object | - |
|
|
|
|
| type | 水平还是垂直类型 | enum: `horizontal` `vertical` | `horizontal` |
|