Answers for "horizontal rule in reactjs"

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 "horizontal rule in reactjs"

Browse Popular Code Answers by Language