Answers for "how style horizontal line in react js"

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 style horizontal line in react js"

Browse Popular Code Answers by Language