Divider
Divider are used to group content horizontally or vertically.
Import
import { Divider } from 'rsuite';
// or
import Divider from 'rsuite/Divider';
Examples
Basic
Divider With Text
Vertical Divider
Props
<Divider>
Property | Type(default) |
Description |
---|---|---|
children | ReactNode | Set the text on the dividing line |
classPrefix | string ('divider') |
The prefix of the component CSS class |
vertical | boolean | Vertical dividing line |