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