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

Fixes ViewPropTypes will be removed from React Native #90

Closed sibelly closed 2 months ago

sibelly commented 2 years ago

Fixes ViewPropTypes will be removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types' warning

bordernone commented 2 years ago

Can this be merged?

sibabale commented 2 years ago

@olarra can someone please merge this PR?

Brma1048 commented 2 years ago

We also need this fix, please can someone merge this PR @olarra

eHallberg commented 2 years ago

What is the holdup here?

sibelly commented 2 years ago

Only those with write access to this repository can merge pull requests. And I don't have it.

eHallberg commented 2 years ago

Yeah, probably dead.. I had to add one more import for it to work with RN 0.70 import {ViewPropTypes, TextPropTypes} from "deprecated-react-native-prop-types"; and replace textStyle: Text.propTypes.style, textStyleFocused: Text.propTypes.style to textStyle: TextPropTypes.style, textStyleFocused: TextPropTypes.style,

olarra commented 2 months ago

@sibelly I think this can be closed