whensday-calendar-lib
Version:
A flexible calendar library with Whensday/Gregorian calendar systems, event management, and customizable UI components
21 lines • 801 B
TypeScript
import React from 'react';
import { DayInGrid, Event, Layer, CalendarSystem } from '../types';
import { ScheduleForDay } from './DayColumn';
interface DayViewProps {
displayDate: DayInGrid;
events: Event[];
schedulesByDay: Map<string, ScheduleForDay[]>;
layersById: Map<string, Layer>;
system: CalendarSystem;
hourHeight: number;
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 DayView: React.FC<DayViewProps>;
export {};
//# sourceMappingURL=DayView.d.ts.map