TypeError: Cannot read property 'style' of undefined
mohamamddev opened this issue · comments
Hi, I have this problem!
How can i fix that?
TypeError: Cannot read property 'style' of undefined
49 | Page.propTypes = {
50 | isLight: PropTypes.bool.isRequired,
51 | image: PropTypes.element.isRequired,
52 | containerStyles: ViewPropTypes.style,
53 | imageContainerStyles: ViewPropTypes.style,
54 | title: PropTypes.oneOfType([PropTypes.string, PropTypes.element]).isRequired,
55 | subtitle: PropTypes.oneOfType([PropTypes.string, PropTypes.element])
I also go the same error in the WEB!!
Having the same problem while using expo. Did you find a solution?
Nope, Not yet :(
Same problem here :/
ViewPropTypes' is not supported in 'react-native-web' v12.0 onwards...
This was fixed. However, React Native for Web is currently not working. #83