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

startFrom not accepting date as string #206

Open
rishavjalan opened this issue Oct 20, 2023 · 0 comments
Open

startFrom not accepting date as string #206

rishavjalan opened this issue Oct 20, 2023 · 0 comments

Comments

@rishavjalan
Copy link

When using the value from the picker which is set by onChange, the value is string
When trying to use it for startFrom then it fails with the error
Type 'string' is not assignable to type 'Date'.ts

I see in the docs it should accept string but i am unable to make that work
https://react-tailwindcss-datepicker.vercel.app/props#min-date-and-max-date

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

1 participant