Answers for "hr tag in react native"

2

react native seperator code

<View
  style={{
    borderBottomColor: 'black',
    borderBottomWidth: 1,
  }}
/>
Posted by: Guest on May-22-2020
2

horizontal line html react

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

Browse Popular Code Answers by Language