materialui-daterange-picker
Version:
A react date range picker implementation using @material-ui.
22 lines (21 loc) • 635 B
TypeScript
import * as 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;
};
}
declare const Month: React.FunctionComponent<MonthProps>;
export default Month;