UNPKG

date-range-picker-mui

Version:
24 lines (23 loc) 695 B
import React from "react"; import { Locale } from "date-fns/locale"; import { DateRange, NavigationAction } from "../types"; interface MonthProps { value: Date; marker: symbol; dateRange: DateRange; minDate: Date; maxDate: Date; navState: [boolean, boolean]; setValue: (date: Date) => void; helpers: { inHoverRange: (day: Date) => boolean; }; handlers: { onDayClick: (day: Date) => void; onDayHover: (day: Date) => void; onMonthNavigate: (marker: symbol, action: NavigationAction) => void; }; locale?: Locale; } declare const Month: React.FunctionComponent<MonthProps>; export default Month;