Skip to content

Using Older method to fetch props #9

@ogil7190

Description

@ogil7190

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions