Answers for "react native red triangle up"

0

react native red triangle up

var Triangle = React.createClass({
  render: function() {
    return (
      <View style={[styles.triangle, this.props.style]} />
    )
  }
})

  triangle: {
    width: 0,
    height: 0,
    backgroundColor: 'transparent',
    borderStyle: 'solid',
    borderLeftWidth: 50,
    borderRightWidth: 50,
    borderBottomWidth: 100,
    borderLeftColor: 'transparent',
    borderRightColor: 'transparent',
    borderBottomColor: 'red'
  }
Posted by: Guest on April-19-2022

Code answers related to "react native red triangle up"

Code answers related to "Javascript"

Browse Popular Code Answers by Language