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

Change theme props. Separate `disabledText` with `otherMonthText` style

Open matinkaboli opened this issue 10 months ago • 0 comments

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]

matinkaboli avatar Aug 30 '23 00:08 matinkaboli