A divider line separates different content.
Basic usage.
Display text or components in diriver.
Custom size of white space around components.
Different state.
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'
| 'secondary'
| 'success'
| 'warning'
| 'error'
| 'dark'
| 'lite'
DividerAlign
type DividerAlign = 'center' | 'start' | 'left' | 'end' | 'right'