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

Custom background color of Calendar cells #3333

Closed
SevenOutman opened this issue Aug 15, 2023 Discussed in #3331 · 2 comments · Fixed by #3336
Closed

Custom background color of Calendar cells #3333

SevenOutman opened this issue Aug 15, 2023 Discussed in #3331 · 2 comments · Fixed by #3336

Comments

@SevenOutman
Copy link
Member

SevenOutman commented Aug 15, 2023

Add an API for customizing the style of a Calendar cell based on the date it represents.

Something like (to be further considered):

type CalendarProps = {
  cellClassName?: (date: Date) => string | undefined;
}

Discussed in #3331 (reply in thread)

Originally posted by harshRishi August 11, 2023
Please help me to give these dates background color accordingly! currently it is showing badges which content!

@itsajay1029
Copy link

I'd love to work on this. Can you assign it to me @SevenOutman ? Also can you explain the issue and what needs to be done a little?

@SevenOutman
Copy link
Member Author

SevenOutman commented Aug 16, 2023

I'd love to work on this. Can you assign it to me @SevenOutman ? Also can you explain the issue and what needs to be done a little?

Hi @itsajay1029, it seems there's already a PR #3336 for this. Thanks all the same for being willing to help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants