react-native-android-iconify icon indicating copy to clipboard operation
react-native-android-iconify copied to clipboard

undefined is not an object (evaluating PropStyles.string) line 7

Open venil7 opened this issue 9 years ago • 2 comments

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,
        },
    }
};

venil7 avatar Dec 19 '16 16:12 venil7

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

lwhiteley avatar Dec 19 '16 16:12 lwhiteley

I have temporarily switched to another icon library, but I'll try and let you know if it fixes the issue.

venil7 avatar Dec 19 '16 17:12 venil7