fullcalendar / fullcalendar-react

The official React Component for FullCalendar
https://fullcalendar.io/docs/react
MIT License
2.09k stars 110 forks source link

How do I render a custom background for a day component? #115

Closed nandorojo closed 3 years ago

nandorojo commented 3 years ago

I'm looking to achieve something like this:

image

I've tried using the eventContent prop, but I'm not having much luck. Is there a way to render a custom component that takes over the box for a given day's background?

My solution for now is probably to use custom CSS selectors and a background image, but it's definitely not ideal. Thanks!

acerix commented 3 years ago

Please refer to the support page and use Stack Overflow for help.

You can do that with background events:

https://codepen.io/acerix/pen/PoGmJxB?editors=0110