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

Using Older method to fetch props #9

Open
ogil7190 opened this issue Oct 22, 2018 · 0 comments
Open

Using Older method to fetch props #9

ogil7190 opened this issue Oct 22, 2018 · 0 comments

Comments

@ogil7190
Copy link

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!

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

No branches or pull requests

1 participant