Divider
A divider line separates different content.
General
The basic Divider usage.
With Text
Display text or components in diriver.
Space
Custom size of white space around components.
Types
Different state.
APIs
Divider.Props
| Attribute | Description | Type | Accepted values | Default |
|---|---|---|---|---|
| type | type of divier | DividerTypes | - | default |
| align | alignment of text | DividerAlign | - | center |
| ... | native props | HTMLAttributes | 'id', 'name', 'className', ... | - |
DividerTypes
type DividerTypes =
| 'default'
| 'primary'
| 'secondary'
| 'success'
| 'warning'
| 'error'
| 'info'
| 'dark'
| 'lite'
DividerAlign
type DividerAlign = 'center' | 'start' | 'left' | 'end' | 'right'