Basic · Divider
Divider
Divider is a linear, lightweight component used to logically organize element content and page structure or areas.
Demos
How to import
Basic Usage
With Children
API Reference
Properties | Instructions | Type | Default | Version |
---|---|---|---|---|
align | Content Align Mode | left | center | right | center | 2.9.0 |
children | Content | ReactNode | - | 2.9.0 |
className | ClassName | string | - | 2.9.0 |
dashed | Whether is dashed | boolean | false | 2.9.0 |
layout | Divider Direction | horizontal | vertical | horizontal | 2.9.0 |
margin | Vertical (Horizontal if in horizontal mode) margin of divider | number | string | - | 2.9.0 |
style | Custom Style | CSSProperties | - | 2.9.0 |