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

PropTypeDefaultRequired
orientation
"horizontal" | "vertical"
horizontal

-

cssCSSProperties

-

-