mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-23 09:54:16 +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>
27 lines
820 B
Markdown
27 lines
820 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
|
|
|
|
### Divider
|
|
|
|
| Property | Description | Type | Default | Version |
|
|
| --- | --- | --- | --- | --- |
|
|
| className | className of container | string | - | |
|
|
| dashed | whether line is dashed | boolean | false | |
|
|
| orientation | position of title inside divider | `left` \| `right` \| `center` | `center` | |
|
|
| style | style object of container | CSSProperties | - | |
|
|
| type | direction type of divider | `horizontal` \| `vertical` | `horizontal` | |
|
|
| plain | divider text show as plain style | boolean | true | 4.2.0 |
|