Skip to content

Update broken PropTypes  #4

Description

@arielwb

Hello!

I was trying to use your package, but it throws an arror on import.
I dig a little the source code, and in fact, you are trying to use PropTypes from react,
but sinse v15.5 it has moved:

Note:
React.PropTypes has moved into a different package since React v15.5. Please use the prop-types library instead.
We provide a codemod script to automate the conversion.

source: https://reactjs.org/docs/typechecking-with-proptypes.html

;))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions