Answers for "how to create a horizontal line in react native"

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 create a horizontal line in react native"

Browse Popular Code Answers by Language