The event type
Events are plain objects. The only required fields arestart, end, and
title; everything else is yours. CalendarEvent<T> is generic, so you can
attach your own fields and read them back in callbacks and renderers.
allDaylays the event out in the all-day lane above the grid instead of in the columns. It’s also inferred for midnight-to-midnight spans.disabledopts an event out of drag interactions.- Multi-day events render on each day they span, clipped per day.
Render your own event
PassrenderEvent — a component (so it can use hooks) that receives
RenderEventArgs. It’s used in every mode and for every event shape (timed,
all-day, multi-day), so you only write it once.
Lighter touches
If you only want to tweak the built-in event box, you don’t need a fullrenderEvent:
eventCellStyle— a style (or a function of the event) merged onto the built-in box.keyExtractor— a stable key per event; defaults to start-time + index.