UNPKG

materialui-daterange-picker

Version:

A react date range picker implementation using @material-ui.

24 lines (23 loc) 720 B
import React from 'react'; import { DateRange, DefinedRange, Setter, NavigationAction } from '../types'; 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; }; } declare const Menu: React.FunctionComponent<MenuProps>; export default Menu;