Calendar Store
The useCalendarStore manages all state for the calendar grid and event interaction system.State Shape
Key Actions
- setSelectedDate(date) — Updates the focused date, triggering CalendarKit to scroll to that date
- setSelectedEvent(event) — Sets the event data and opens the EventDetailModal
- clearSelection() — Closes the EventDetailModal and clears selection state
- setViewMode(mode) — Switches between day and week view