how to create horizontal line in react js code example
Example: horizontal line html react
const ColoredLine = ({ color }) => (
<hr
style={{
color: color,
backgroundColor: color,
height: 5
}}
/>
);