styled-components-website
styled-components-website copied to clipboard
Inaccurate `shouldForwardProp` description
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.