UNPKG

puppy-lib-components

Version:

A modern TypeScript React component library with generic UI components and football pickem domain components

24 lines (23 loc) 770 B
import React from 'react'; import { DateRange, RangePosition } from './types'; interface DesktopPickerProps { open: boolean; anchorEl: HTMLElement | null; onClose: () => void; currentValue: DateRange; rangePosition: RangePosition; onRangePositionChange: (position: RangePosition) => void; onDateChange: (date: Date, calendarIndex?: number) => void; onAccept: () => void; onClear: () => void; calendars: 1 | 2 | 3; clearable: boolean; minDate?: Date; maxDate?: Date; disableFuture?: boolean; disablePast?: boolean; shouldDisableDate?: (date: Date, position: RangePosition) => boolean; showDaysOutsideCurrentMonth?: boolean; } export declare const DesktopPicker: React.FC<DesktopPickerProps>; export {};