element-plus/docs/en-US/component/divider.md
jeremywu 8fdf558b04
fix(docs): adding title for components (#4025)
- Remove `type` field.
- Add `title` field
2021-10-25 15:21:08 +08:00

44 lines
824 B
Markdown

---
title: Divider
lang: en-US
---
# Divider
The dividing line that separates the content.
## Basic usage
Divide the text of different paragraphs.
:::demo
divider/basic-usage
:::
## Custom content
You can customize the content on the divider line.
:::demo
divider/custom-content
:::
## Vertical divider
:::demo
divider/vertical-divider
:::
## Divider Attributes
| Attribute | Description | Type | Accepted Values | Default |
| ---------------- | ----------------------------------------- | ------ | --------------------- | ---------- |
| direction | Set divider's direction | string | horizontal / vertical | horizontal |
| content-position | customize the content on the divider line | String | left / right / center | center |