jfilter / react-native-onboarding-swiper

🛳 Delightful onboarding for your React-Native app
https://www.npmjs.com/package/react-native-onboarding-swiper
Other
971 stars 179 forks source link

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

Closed mohamamddev closed 2 years ago

mohamamddev commented 3 years ago

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 commented 3 years ago

I also go the same error in the WEB!!

nick-0101 commented 3 years ago

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

Jonak-Adipta-Kalita commented 3 years ago

Nope, Not yet :(

laurix-wizard commented 3 years ago

Same problem here :/

dgillier commented 2 years ago

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

jfilter commented 2 years ago

This was fixed. However, React Native for Web is currently not working. https://github.com/jfilter/react-native-onboarding-swiper/issues/83