I think the problem in this specific case is tied to using forwardRef. Will try to find out in more detail , but I think forwardRef drops any default props.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This is interesting. Can you take a look at the simplified example:
codesandbox.io/s/fancy-bird-vqd9x
If you remove
defaultPropsTypeScript will complain.I think the problem in this specific case is tied to using
forwardRef. Will try to find out in more detail , but I think forwardRef drops any default props.