-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: missing ref type #106
Labels
Comments
Can you look at #169 ? Everything is ok when exporting but usage gives |
thekaganugur
added
bug
Something isn't working
help wanted
Extra attention is needed
labels
Oct 25, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: