react-native-hr
react-native-hr copied to clipboard
Starting with react v15.5 the use of `React.PropTypes` resulted in a deprecation warning. in v16 that module was moved to the `prop-types` package. This is causing `react-native-hr` to fail: ```...
neither through `lineStyle={{}}`, direct (i.e. `margin={}`) or enclosed in a View (disappears)
How to draw vertical line
It seems that the package that is available in NPM does not correspond with master.
If I have my own stylesheet: `const styles = StyleSheet.create({ hrLineStyle: { backgroundColor: Colors.lightGrey.withAlpha(0.5), height: 1, }, hrTextStyle: { color: Colors.magenta, fontSize: 14, }, ... }); ` It's nice to...
Please help me out in how to install, import and use clearly with example. I am using expo .
Hey, trying to use `react-native-hr` in my project as this: ``` import {Hr} from 'react-native-hr' ... class MyListItem extends PureComponent { render(){ return ( {this.props.content} --{this.props.re} ===================== ); } }...
React Native v44. latest react-native-hr ```