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
Hi, I was trying to use refs with your component, but Typescript complains that there is no such prop as ref on any of your components. When I looked at the code I could see that you are explicitly typing them as Functional Components, instead of letting Typescript infer the correct type from the forwardRef function. Could you remove these explicit types?
The text was updated successfully, but these errors were encountered:
Hi, I was trying to use refs with your component, but Typescript complains that there is no such prop as
ref
on any of your components. When I looked at the code I could see that you are explicitly typing them as Functional Components, instead of letting Typescript infer the correct type from theforwardRef
function. Could you remove these explicit types?The text was updated successfully, but these errors were encountered: