Use Divider to render a horizontal or vertical line which will extend to parent node's width / height
It adds default styling and the css
prop. Provide orientation
as horizontal
or vertical
to achieve desirable output
<Divider />
<Divider orientation="vertical"/>
API Reference
Prop | Type | Default | Required |
---|---|---|---|
orientation | "horizontal" | "vertical" | horizontal | - |
css | CSSProperties | - | - |