react-native-floating-hearts
react-native-floating-hearts copied to clipboard
Using Older method to fetch props
Hey users!
Details about my issue.
The project is using proptypes from react which are deprecated at this point and moved to prop-types module. Please try to fetch proper prop types as said or it will crash with string not found undefined error.
Steps to Reproduce / Code Snippets
Try running this module with latest react native version.
Expected Results
Crash due to invalid proptypes import , error -> string not found undefined error.
Solution:
PLEASE UPDATE THIS LIBRARY MANUALLY BY FINDING THE MODULE IN NPM_MODULE FOLDER.
- Edit HeartShape.js and FloatingHearts.js both for proptypes and import proptypes from 'prop-types'.
- Ignore any warning or try solving it own and post the way to remove it here.
- styles are fetched from View proptypes change that to Proptypes.obj and pass any style object there to change the style.
THANKS!