react-native-easy-toast icon indicating copy to clipboard operation
react-native-easy-toast copied to clipboard

Cannot read property 'style' of undefined

Open rambmario opened this issue 3 years ago • 0 comments

Captura de Pantalla 2021-11-06 a la(s) 13 11 00

I commented this lines to works for me line 21 // const ViewPropTypes = RNViewPropTypes || View.propTypes;

line 150 & 156 Toast.propTypes = { //style: ViewPropTypes.style, position: PropTypes.oneOf([ 'top', 'center', 'bottom', ]), // textStyle: Text.propTypes.style, positionValue:PropTypes.number, fadeInDuration:PropTypes.number, fadeOutDuration:PropTypes.number, opacity:PropTypes.number, useNativeAnimation:PropTypes.bool }

rambmario avatar Nov 06 '21 17:11 rambmario