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

Added class override for most parts of calendar #250

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Semanual
Copy link

Class-level customization

Following #29, I've got another approach to customization, which is not limited only to colors, but full class customization. Example:

image

Added props:

  • calendarContainerClassName
  • baseDayClassName
  • disabledClassName
  • todayClassName
  • selectedClassName
  • selectedStartClassName
  • selectedFullClassName
  • selectedEndClassName
  • rangeClassName
  • btnClassName
  • btnActiveClassName
  • btnDisabledClassName
  • btnFullRoundClassName
  • btnContainerClassName

@MeepCastana
Copy link

MeepCastana commented May 15, 2024

Is there a way to change the color fo this element?
image
It would be great to inherit the color of the whole container because at the moment i have this problem
image

@gustavolbs
Copy link

Published this package into this:

https://www.npmjs.com/package/gustavolbs-react-tailwindcss-datepicker

@luansantosti
Copy link

can we have this one merged?

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.

4 participants