UNPKG

whensday-calendar-lib

Version:

A flexible calendar library with Whensday/Gregorian calendar systems, event management, and customizable UI components

25 lines 911 B
import React from 'react'; import { DayInGrid, Event, Layer, CalendarDay, CalendarSystem } from '../types'; interface ScheduleForDay { schedule: any; color: string; state: 'on' | 'off' | 'holiday' | 'exemption' | 'bonus'; isCompleted: boolean; } interface MonthViewProps { calendarGrid: CalendarDay[]; events: Event[]; schedulesByDay: Map<string, ScheduleForDay[]>; layersById: Map<string, Layer>; system: CalendarSystem; onEventClick: (event: Event) => void; onEventAdd: (date: DayInGrid, time?: string) => void; onEventMove?: (eventId: string, newDayTimestamp: number, newStartTime?: string) => void; onDateClick: (date: DayInGrid) => void; showTodayIndicator: boolean; showHolidayIndicators: boolean; showScheduleIndicators: boolean; } export declare const MonthView: React.FC<MonthViewProps>; export {}; //# sourceMappingURL=MonthView.d.ts.map