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

change deprecated ViewPropTypes to PropTypes #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

futurk
Copy link

@futurk futurk commented May 16, 2022

I used to have a problem in Expo's web view with this package. it was saying some stuff about ViewPropTypes. i did some research and tried a few solutions i found. last one worked.
Since ViewPropTypes is removed and prop-types has a built-in style property, i did the necessary modifications and everything appears to work just fine now.

@futurk futurk force-pushed the master branch 4 times, most recently from 4ad25af to a80b478 Compare June 5, 2022 11:32
@HugoLeBoennec
Copy link

HugoLeBoennec commented Dec 20, 2022

Edit
I seems that built-in style proprety is note supported anymore.
style: PropTypes.oneOfType([PropTypes.object, PropTypes.array]), from Stack

Previous:
Thank I fix it manually, I hop i will be merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants