xamous / react-native-smooth-pincode-input

A cross-platform, smooth, lightweight, customizable PIN code input component for React Native.
MIT License
406 stars 139 forks source link

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

Closed markybry closed 2 years ago

markybry commented 4 years ago

If you upgrade to RNW 12.0 or greater you can no longer use react native web

Error: ./node_modules/react-native-table-component/components/rows.js Cannot find module: 'react-native-web/dist/exports/ViewPropTypes'. Make sure this package is installed.

alfosua commented 3 years ago

There's any way to use this package with Expo? I'm migrating from a bare-workflow project into an Expo-managed one.

markybry commented 3 years ago

I decided make a copy of the component and remove viewproptypes as the repo seems dead and my solution isn't really acceptable for a customisable component.