sbycrosz / react-native-credit-card-input

Easy, cross-platform credit-card input for your React Native Project! Start accepting payment 💰 in your app today!
MIT License
1.47k stars 706 forks source link

Warning: ViewPropTypes will be removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types' #224

Closed hernancasillas closed 4 months ago

hernancasillas commented 2 years ago

Hello , I'm using Expo SDK 45 and I am getting a new warning.

at node_modules\expo\build\environment\react-native-logs.fx.js:18:4 in warn at node_modules\react-native\index.js:470:4 in module.exports.get__ViewPropTypes at node_modules\react-native-credit-card-input\src\CCInput.js:28:20 in CCInput at node_modules\metro-runtime\src\polyfills\require.js:339:11 in loadModuleImplementation at node_modules\react-native-credit-card-input\src\CreditCardInput.js:15:0 in at node_modules\metro-runtime\src\polyfills\require.js:339:11 in loadModuleImplementation at node_modules\react-native-credit-card-input\src\index.js:2:0 in at node_modules\metro-runtime\src\polyfills\require.js:339:11 in loadModuleImplementation at node_modules\react-native-credit-card-input\index.js:1:0 in

I hope this package can get an update, it's very useful.

hernancasillas commented 2 years ago

Update: ViewPropTypes has been removed from React Native

Using Expo SDK 46. React Native 18