UNPKG

date-range-picker-mui

Version:
26 lines (25 loc) 785 B
import React from 'react'; import { DateRange, DefinedRange, NavigationAction, Setter } from '../types'; import { Locale } from "date-fns/locale"; interface MenuProps { dateRange: DateRange; ranges: DefinedRange[]; minDate: Date; maxDate: Date; firstMonth: Date; secondMonth: Date; setFirstMonth: Setter<Date>; setSecondMonth: Setter<Date>; setDateRange: Setter<DateRange>; helpers: { inHoverRange: (day: Date) => boolean; }; handlers: { onDayClick: (day: Date) => void; onDayHover: (day: Date) => void; onMonthNavigate: (marker: symbol, action: NavigationAction) => void; }; locale?: Locale; } declare const Menu: React.FunctionComponent<MenuProps>; export default Menu;