UNPKG

@spaced-out/ui-design-system

Version:
22 lines 935 B
import * as React from 'react'; import type { DateRange } from '../../types'; import type { MARKERS, NAVIGATION_ACTION } from '../../utils'; type CalendarProps = { value: string; marker: (typeof MARKERS)[keyof typeof MARKERS]; minDate?: string; maxDate?: string; hoverDay: string; dateRange: DateRange; inHoverRange: (day: string) => boolean; handlers: { onDayClick: (day: string) => void; onDayHover: (day: string) => void; onMonthNavigate: (marker: (typeof MARKERS)[keyof typeof MARKERS], action: (typeof NAVIGATION_ACTION)[keyof typeof NAVIGATION_ACTION]) => void; }; today: string; t: ((key: string, fallback: string) => string) | null | undefined; }; export declare const Calendar: ({ value, marker, minDate, maxDate, handlers, hoverDay, dateRange, inHoverRange, today, t, }: CalendarProps) => React.JSX.Element; export {}; //# sourceMappingURL=Calendar.d.ts.map