Skip to content

Support React 15.5 +  #106

@TGChrisRArendt

Description

@TGChrisRArendt

Getting an error Cannot read properties of undefined (reading 'oneOfType')

It is due to React having changed the library for this back in 15.5: https://reactjs.org/docs/typechecking-with-proptypes.html

Note:

React.PropTypes has moved into a different package since React v15.5. Please use [the prop-types library instead](https://www.npmjs.com/package/prop-types).

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