Open
Description
Add a prop to the Scheduler component that allow to pass events to the component.
These events should contain the following information:
- A start date (should use the adapter type)
- An end date (should use the adapter type)
- A name / title
- An
allDay
boolean (if [scheduler][joy] Add support for "all-day" event #17713 is implemented)
In this PR
- Create the
events
prop (decide how it should be named) - Pass these events to the already implemented views (week, day, ...) if any.
- Create the
onEventsChange
(decide how it should be named) to react to events update
Not in this PR
- The ability to group the events by calendar
- The ability to store the information in other properties than the one expected by the scheduler