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

Feature: custom week number tile content #703

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

babogdanov
Copy link

I am developing an app for tracking working hours which was using react-calendar and I needed to make the area around the week numbers into a customized button with dynamic data. Here's an example of how I use the new feature for that use case:

calendar

I noticed this related issue #21 that you thought was nice to have, so I hope you approve of my approach. I didn't bother to add the equivalent of tileClassNames here since the parent element of the week numbers has the className react-calendar__month-view__weekNumbers and I used that one for styling, but if you think that should be done as well, I could give it a try in this PR or maybe in another.

@babogdanov babogdanov marked this pull request as draft November 22, 2022 14:45
@babogdanov babogdanov marked this pull request as ready for review November 22, 2022 14:45
@babogdanov
Copy link
Author

I tried assigning someone for review and adding some labels but to no avail. I guess it's because I don't have a write permission in the repo.

@wojtekmaj wojtekmaj force-pushed the main branch 4 times, most recently from cef9c7c to cd7ef12 Compare March 2, 2023 08:38
@wojtekmaj wojtekmaj force-pushed the main branch 3 times, most recently from 0f9c665 to 88f5da5 Compare April 5, 2023 09:49
@wojtekmaj wojtekmaj force-pushed the main branch 3 times, most recently from 1f10b65 to 0c5a8da Compare July 27, 2023 21:19
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

Successfully merging this pull request may close these issues.

1 participant