Skip to content

Change theme props. Separate disabledText with otherMonthText style #36

Open
@matinkaboli

Description

@matinkaboli

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 tailwind-datepicker-react@1.4.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions