react-native-android-iconify
react-native-android-iconify copied to clipboard
undefined is not an object (evaluating PropStyles.string) line 7
var { requireNativeComponent, PropTypes } = require('react-native');
var iface = {
'IconTextView':{
name: 'IconTextView',
propTypes: {
text: PropTypes.string, <--- i suspect this line
scaleX: PropTypes.number,
fontSize: PropTypes.number,
color: PropTypes.string,
scaleY: PropTypes.number,
translateX: PropTypes.number,
translateY: PropTypes.number,
rotation: PropTypes.number,
},
}
};
made a minor change to the file, pull from master to test it and let me know
https://github.com/lwhiteley/react-native-android-iconify/blob/master/index.android.js#L1
I have temporarily switched to another icon library, but I'll try and let you know if it fixes the issue.