Answers for "how to make horizontal line in react"

2

horizontal line html react

const ColoredLine = ({ color }) => (
    <hr
        style={{
            color: color,
            backgroundColor: color,
            height: 5
        }}
    />
);
Posted by: Guest on March-27-2020

Code answers related to "how to make horizontal line in react"

Browse Popular Code Answers by Language