draw triangle views in react native
npm install react-native-triangleA class to encapsulate the CSS triangle hack. Based off the output of the triangle generator http://apps.eky.hk/css-triangle-generator/ but modified for React Native syntax.
npm install react-native-triangle --saveThen
import Triangle from 'react-native-triangle';
width={90}
height={150}
color={'#D80016'}
direction={'right'}
/>
``The width and height act as bounds to fit the triangle into.