-
Notifications
You must be signed in to change notification settings - Fork 405
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
Add prop for custom CSS classes on specific dates #137
base: master
Are you sure you want to change the base?
Conversation
Hi @sators. Do you know how could I install the package with this PR merged? |
@cosivox You can try:
...and view the updated docs at: https://github.com/sators/react-infinite-calendar |
@sators Thank you! |
Amazing work, this is a super handy feature |
This not work for me. Does this still work? |
@AldoGonzalez It should - what errors are you getting back? |
I use
The lib still works fine, but this improve is not include. |
@AldoGonzalez Until this PR merges, if you want to use it, you will need to remove the install of |
Okey, but what URL I have to use? I remove the lib and when I install this:
|
@AldoGonzalez Sounds like a |
FINALLY works! The problem was git.. thanks man! This improvement saved my life! |
bump |
This creates the prop
dateClasses
which takes an array of objects for setting custom class names on specific dates:Will result in .my-class-1 and .my-class-2 being attached to the specified
<Day />
component accordingly. Supports multiple classes for the same date.Let me know what you think!