mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 15:19:58 +08:00
882cec62d6
* docs: Add components overview page * fix detail * remove ContributorsList form overview page * fix components url * improve code style * remove extra file * fix detail * fix lint * fix lint * docs: Finish components overview page * fix lint * docs: Update cover * fix lint * update cover * update menu * improve overview page * refactor code * fix order * update title * add components count * fix overview page ssr bug * move less file * update title margin Co-authored-by: arvinxx <arvinx@foxmail.com>
26 lines
1.1 KiB
Markdown
26 lines
1.1 KiB
Markdown
---
|
|
category: Components
|
|
type: 布局
|
|
title: Divider
|
|
subtitle: 分割线
|
|
cover: https://gw.alipayobjects.com/zos/alicdn/5swjECahe/Divider.svg
|
|
---
|
|
|
|
区隔内容的分割线。
|
|
|
|
## 何时使用
|
|
|
|
- 对不同章节的文本段落进行分割。
|
|
- 对行内文字/链接进行分割,例如表格的操作列。
|
|
|
|
## API
|
|
|
|
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
|
| ----------- | -------------------------- | ----------------------------- | ------------ | ----- |
|
|
| className | 分割线样式类 | string | - | |
|
|
| dashed | 是否虚线 | boolean | false | |
|
|
| orientation | 分割线标题的位置 | `left` \| `right` \| `center` | `center` | |
|
|
| style | 分割线样式对象 | CSSProperties | - | |
|
|
| type | 水平还是垂直类型 | `horizontal` \| `vertical` | `horizontal` | |
|
|
| plain | 文字是否显示为普通正文样式 | boolean | false | 4.2.0 |
|