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

Date picker in functional components #20

Open
rozzz333 opened this issue Jan 20, 2020 · 1 comment
Open

Date picker in functional components #20

rozzz333 opened this issue Jan 20, 2020 · 1 comment

Comments

@rozzz333
Copy link

Hello

As you know functional components don't support 'ref' feature
How can i use this library in functional components?

@pandiaraj44
Copy link
Owner

pandiaraj44 commented Sep 19, 2020

@rozzz333 With the use of "useRef" hook we can replace 'ref'.
https://dev.to/danielpdev/complete-useref-hook-with-live-code-examples-20ep

We will check and add the functional component support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants