UNPKG

mui-daterange-picker

Version:

A react date range picker implementation using @mui.

23 lines (22 loc) 652 B
import React from "react"; import { NavigationAction, DateRange } 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;