-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
ViewPropTypes will be removed from React native #1003
Comments
1- install "deprecated-react-native-prop-types" with npm "npm install deprecated-react-native-prop-types" 2-Then open react-native folder inside node_modules , There you will have index.js 3-Below comment note "// Deprecated Prop Types" you will see functions like this : // Deprecated Prop Types get EdgeInsetsPropType(): $FlowFixMe { get ColorPropType(): $FlowFixMe { get EdgeInsetsPropType(): $FlowFixMe { |
ERROR ViewPropTypes will be removed from React Native, along with all other PropTypes. We recommend
that you migrate away from PropTypes and switch to a type system like TypeScript. If you need to continue using ViewPropTypes, migrate to the 'deprecated-react-native-prop-types' package.
Is there any solution to this I'm using typescript in react native expo
Thanks
The text was updated successfully, but these errors were encountered: