Skip to content

Deprecation Warning for defaultProps in Function Components #3

Description

@unbroken360

Description
The react-native-image-blur-shadow package throws the following warning when used in a React Native project:
ImageBlurShadow: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.

Steps to Reproduce

  1. Install react-native-image-blur-shadow in a React Native project.
  2. Use the ImageBlurShadow component in your app.
  3. Run the app and observe the warning in the console.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions