tailwind-datepicker-react
tailwind-datepicker-react copied to clipboard
Change theme props. Separate `disabledText` with `otherMonthText` style
There's this property called disabledText
which gets some classNames for each day.
The problem is that whenever I put minDate
to new Date()
, meaning that I want days before now to be disabled, and then give disabledTest
some specific styles, the days for the next month get the same style as well. They appear disabled, even though user can click on them without changing the month.
To fix this, there should be a new property in the Themes called nextMonthText
or oherMonthText
or something similar that developers can use to specify the custom style of days in other months.
I'm using [email protected]
Hi @matinkaboli I just caught by the same problem and adjusted the original code. Check my adjusted version #61