@material-ui/pickers
Version:
React components, that implements material design pickers for material-ui v4
15 lines (14 loc) • 668 B
TypeScript
import * as React from 'react';
import { ParsableDate } from '../../constants/prop-types';
import { MaterialUiPickersDate } from '../../typings/date';
export interface MonthSelectionProps {
date: MaterialUiPickersDate;
minDate?: ParsableDate;
maxDate?: ParsableDate;
onChange: (date: MaterialUiPickersDate, isFinish: boolean) => void;
disablePast?: boolean | null | undefined;
disableFuture?: boolean | null | undefined;
onMonthChange?: (date: MaterialUiPickersDate) => void | Promise<void>;
}
export declare const useStyles: (props?: any) => Record<"container", string>;
export declare const MonthSelection: React.FC<MonthSelectionProps>;