-
Notifications
You must be signed in to change notification settings - Fork 465
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
import ViewPropTypes from deprecated-react-native-prop-types instead of react-native #345
Comments
Add deprecated-react-native-prop-types change ViewPropTypes #346 |
The patch solved my problem, I recommend that you use the patch and don't wait for updates on that lib. react-native-htmlview+0.16.0.patch
Your project must depend on (deprecated-react-native-prop-types) for the patch to work, besides having a postinstall-postinstall lib and patch-package configured. Another alternative is a fork of this lib and generate your own version with this fix. |
Thanks @LFMAKER. I ended up swapping over to 'react-native-render-html' in my project which is more recently maintained. The change was fairly easy within my codebase. However, I appreciate you bringing the patch to my attention. |
@LFMAKER did you delete the patch? |
In HTMLView.js
import ViewPropTypes from deprecated-react-native-prop-types instead of react-native
Please update
The text was updated successfully, but these errors were encountered: