Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read property 'style' of undefined #109

Closed
ghost opened this issue Jun 15, 2021 · 6 comments
Closed

TypeError: Cannot read property 'style' of undefined #109

ghost opened this issue Jun 15, 2021 · 6 comments

Comments

@ghost
Copy link

ghost commented Jun 15, 2021

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])

@Jonak-Adipta-Kalita
Copy link

I also go the same error in the WEB!!

@nick-0101
Copy link

Having the same problem while using expo. Did you find a solution?

@Jonak-Adipta-Kalita
Copy link

Nope, Not yet :(

@laurix-wizard
Copy link

Same problem here :/

@dgillier
Copy link

ViewPropTypes' is not supported in 'react-native-web' v12.0 onwards...

@jfilter
Copy link
Owner

jfilter commented Jan 31, 2022

This was fixed. However, React Native for Web is currently not working. #83

@jfilter jfilter closed this as completed Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants