mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
fb0b4f0fc9
* docs: add api first appearance * docs: fix auto-complete doc * docs: replace Version Added with Version * docs: date picker common method * docs: date picker common method * docs: tree * docs: remove meaningless 3.0.0
26 lines
699 B
Markdown
26 lines
699 B
Markdown
---
|
|
category: Components
|
|
type: Other
|
|
title: Divider
|
|
cols: 1
|
|
---
|
|
|
|
A divider line separates different content.
|
|
|
|
## When To Use
|
|
|
|
- Divide sections of article.
|
|
- Divide inline text and links such as the operation column of table.
|
|
|
|
## API
|
|
|
|
### Divider
|
|
|
|
| Property | Description | Type | Default | Version |
|
|
| --- | --- | --- | --- | --- |
|
|
| className | className of container | string | - | 3.5.4 |
|
|
| dashed | whether line is dashed | boolean | false | |
|
|
| orientation | position of title inside divider | enum: `left` `right` `center` | `center` | 3.3.0 |
|
|
| style | style object of container | object | - | 3.5.4 |
|
|
| type | direction type of divider | enum: `horizontal` `vertical` | `horizontal` | |
|