CalendarGridProps
Props for CalendarGrid
Properties
currentDate
currentDate: Date;
The month currently being displayed
events
events: CalendarEvent[];
All calendar events to render across the grid
onSelectDate()
onSelectDate: (date) => void;
Callback when a day cell is clicked
Parameters
| Parameter | Type |
|---|---|
date | Date |
Returns
void