styled-components-website icon indicating copy to clipboard operation
styled-components-website copied to clipboard

Inaccurate `shouldForwardProp` description

Open Tbhesswebber opened this issue 1 year ago • 0 comments

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.

Tbhesswebber avatar Mar 25 '24 16:03 Tbhesswebber