23 lines
694 B
Markdown
23 lines
694 B
Markdown
---
|
|
category: Components
|
|
type: Layout
|
|
title: Divider
|
|
cover: https://gw.alipayobjects.com/zos/alicdn/5swjECahe/Divider.svg
|
|
---
|
|
|
|
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
|
|
|
|
| Property | Description | Type | Default | Version |
|
|
| --- | --- | --- | --- | --- |
|
|
| dashed | whether line is dashed | Boolean | false | |
|
|
| orientation | position of title inside divider | enum: `left` `right` `center` | `center` | |
|
|
| type | direction type of divider | enum: `horizontal` `vertical` | `horizontal` | |
|
|
| plain | Divider text show as plain style | boolean | true | 2.2.0 |
|