Skip to content

Inaccurate shouldForwardProp description #966

Open
@Tbhesswebber

Description

@Tbhesswebber

According to the docs, shouldForwardProp takes an optional second parameter that is the default validator function. However, according to the implementation, the second argument is the component or element itself.

I'm happy to submit a PR to fix this, but I wanted to verify that there isn't some kind of rationale behind the current deviation first.

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