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

type: update types for startDate and endDate to accept `number` values

Open HurSungYun opened this issue 2 years ago • 0 comments

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:

스크린샷 2023-08-10 오전 12 35 56 스크린샷 2023-08-10 오전 12 51 03

Please let me know if I got something wrong. Thank you.

HurSungYun avatar Aug 09 '23 15:08 HurSungYun