#[v9] - Schedule - Allow rendering custom (Header) components

2 messages · Page 1 of 1 (latest)

dapper ridge
#

I am working on migrating our scheduler that we built with react-big-calendar to Mantine's Schedule, and am running into the fact that I can't seem to set up custom rendering for components in the header.

Specifically, I want to render a MonthView (the view in my case will always be month) and fully replace the ViewSelect part with a custom component.
Though, it might be nicer to make it more generic and allow custom rendering of most/all components.

I can get around it by hiding the existing viewSelect with styles={{ viewSelect: { display: "none" } }}, and rendering my component with position absolute, but would prefer a more robust setup.

react-big-calendar allows this through a components prop where users can specify custom components for any part of the calendar.

Is anything like this planned for Schedule / MonthView, and/or is there a way to do this that I missed?

dapper ridge
#

[v9] - Schedule - Allow rendering custom (Header) components