Skip to content
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

suppress ViewPropTypes warnings #1

Merged
merged 1 commit into from
Oct 6, 2022
Merged

suppress ViewPropTypes warnings #1

merged 1 commit into from
Oct 6, 2022

Conversation

ariiyu
Copy link
Owner

@ariiyu ariiyu commented Oct 6, 2022

To support RN v0.68, migrate to deprecated-react-native-prop-types to suppress warnings like this.

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

    > 38 | import ParallaxScrollView from 'react-native-parallax-scroll-view';
         | ^

@ariiyu ariiyu self-assigned this Oct 6, 2022
@ariiyu ariiyu merged commit 9728d07 into master Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant