react-tailwindcss-datepicker
react-tailwindcss-datepicker copied to clipboard
type: update types for startDate and endDate to accept `number` values
Hi! Thanks for your amazing work! I'm using this date picker usefully.
During my usage, I noticed that both startDate and endDate can accept values of type number, even though their current types don't explicitly indicate this compatibility.
To address this, I've made adjustments to the DateType to ensure that it can also accommodate values of type number.
Here are a couple of screenshots for references:
Please let me know if I got something wrong. Thank you.