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

Beautiful component but can't get it to work #27

Open
phutngo opened this issue Aug 14, 2021 · 2 comments
Open

Beautiful component but can't get it to work #27

phutngo opened this issue Aug 14, 2021 · 2 comments

Comments

@phutngo
Copy link

phutngo commented Aug 14, 2021

npm i dates-picker

Then can you show a simple functional component with import statement that we can use?
Even better show the code snippet from the demo page?

Thanks!

@phutngo
Copy link
Author

phutngo commented Aug 28, 2021

@almogtavor any help/guidance would be much appreciated!

@almogtavor
Copy link
Owner

Yes there's an issue with the component and I'll publish the fix on version 1.1.0. I'll update here when it's done. If you want to use it now you can use version 1.0.18, but it won't work on React Strict Mode. So you'll be able to use it only if you remove strict mode. The usage will be as specified on the README.md (just import {DateRangePicker} from dates-picker)

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