Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can you return a string if isCustomDate only accepts a Boolean #534

Open
FractalMind opened this issue Sep 14, 2023 · 0 comments
Open

Comments

@FractalMind
Copy link

isCustomDate only accepts a Boolean

In the doc it says:

isCustomDate
(function) A function that is passed each date in the calendars before they are displayed, and may return a string or array of CSS class names to apply to that date's calendar cell

How can you return a string or an array of string?

@FractalMind FractalMind changed the title isCustomDate only accepts a Boolean How can you return a string if isCustomDate only accepts a Boolean Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant