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.
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.