Skip to content
This repository was archived by the owner on Sep 1, 2024. It is now read-only.
This repository was archived by the owner on Sep 1, 2024. It is now read-only.

Typo in PropTypes.checkPropTypes section of Docs #299

Closed
@marksmccann

Description

@marksmccann

I believe there is a small typo in the PropTypes.checkPropTypes section of your README.md. Not a big deal, but wanted to point it out. It tripped me up for a little bit and wanted save the next person some time :).

It reads:

PropTypes.checkPropTypes(myPropTypes, props, 'age', 'MyComponent');

When I believe it should read:

PropTypes.checkPropTypes(myPropTypes, props, 'prop', 'MyComponent');

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions