Skip to content
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

Open
krokosik opened this issue Feb 11, 2022 · 1 comment · May be fixed by #169
Open

Bug: missing ref type #106

krokosik opened this issue Feb 11, 2022 · 1 comment · May be fixed by #169
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@krokosik
Copy link

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?

@thekaganugur
Copy link
Owner

Can you look at #169 ?

Everything is ok when exporting but usage gives any

image

@thekaganugur thekaganugur added bug Something isn't working help wanted Extra attention is needed labels Oct 25, 2022
@thekaganugur thekaganugur linked a pull request Oct 25, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants