UNPKG

@spaced-out/ui-design-system

Version:
41 lines 1.65 kB
import type { Flow } from 'flow-to-typescript-codemod'; import type { DateRange, DateRangeWithTimezone } from '../../types'; import { MARKERS, NAVIGATION_ACTION } from '../../utils'; interface DateRangeWrapperProps { dateRange: DateRange; hoverDay: string; minDate: string; maxDate: string; rangeStartMonth: string; rangeEndMonth: string; mobileCalendarMonth: string; cardWrapperClass: string | null | undefined; setRangeStartMonth: (arg1: string) => void; setRangeEndMonth: (arg1: string) => void; setRangeMonth: (arg1: string) => void; setTimezone: (arg1: string) => void; timezone: string; onApply: (datePickerSelectedRange: DateRangeWithTimezone) => void; onCancel: () => void; inHoverRange: (day: string) => boolean; hideTimezone: 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; }; mobileCalendarHandlers: { onDayClick: (day: string) => void; onDayHover: (day: string) => void; onMonthNavigate: (action: (typeof NAVIGATION_ACTION)[keyof typeof NAVIGATION_ACTION]) => void; }; today: string; startDateLabel?: string; endDateLabel?: string; t: ((key: string, fallback: string) => string) | null | undefined; locale?: string; testId?: string; } export declare const DateRangeWrapper: Flow.AbstractComponent<DateRangeWrapperProps, HTMLDivElement>; export {}; //# sourceMappingURL=DateRangeWrapper.d.ts.map