Skip to content

Added class override for most parts of calendar#250

Open
Semanual wants to merge 1 commit into
onesine:masterfrom
Semanual:class-override
Open

Added class override for most parts of calendar#250
Semanual wants to merge 1 commit into
onesine:masterfrom
Semanual:class-override

Conversation

@Semanual

Copy link
Copy Markdown

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

MeepCastana commented May 15, 2024

Copy link
Copy Markdown

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
Copy Markdown

Published this package into this:

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

@luansantosti

Copy link
Copy Markdown

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