react-tailwindcss-datepicker icon indicating copy to clipboard operation
react-tailwindcss-datepicker copied to clipboard

startFrom not accepting date as string

Open rishavjalan opened this issue 2 years ago • 0 comments

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

rishavjalan avatar Oct 20 '23 18:10 rishavjalan