jquense / react-big-calendar

gcal/outlook like calendar component
http://jquense.github.io/react-big-calendar/examples/index.html
MIT License
7.93k stars 2.25k forks source link

Make ResourceID available in dayPropGetter #2634

Closed limzyishere closed 2 months ago

limzyishere commented 4 months ago

Clear and concise description of the problem

I am using employees (resources) for the calendar and for days where the employee is not working, i would like to be able to have them remain in the calendar View, however their class="rbc-events-container" Column be shaded slightly darker so that the user knows that this employee is actually not working.

having the resourceID available would allow me to style each column individually depending on conditions.

Suggested solution

having the resourceID available would allow me to style each column individually depending on conditions.

Alternative

No response

Additional context

No response

Validations

Would you like to open a PR for this feature?

cutterbl commented 2 months ago

Done. New documentation available