You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for the report! I’ve just started to work on refactoring this library into a new, smaller and better one. The work may take a while, but until then, I’m not planning to fix the examples provided for this library.
Description
Using displayName and propTypes on a forwardRef component shows error. I guess this is more of an issue with the example code than this library.
Reproduction
https://codesandbox.io/s/typescript-as-prop-with-react-polymorphic-box-forked-hw0l5?file=/src/App.tsx
Expected behavior
displayName and propTypes should be allowed.
Actual behavior
displayName and propTypes are not allowed.
The text was updated successfully, but these errors were encountered: