1 | import * as React from 'react';
|
2 | import { PickerView } from '../../Picker/Picker';
|
3 | import { MaterialUiPickersDate } from '../../typings/date';
|
4 | export declare function useViews(views: PickerView[], openTo: PickerView, onChange: (date: MaterialUiPickersDate, isFinish?: boolean) => void): {
|
5 | handleChangeAndOpenNext: (date: MaterialUiPickersDate, isFinish?: boolean | undefined) => void;
|
6 | openView: "date" | "year" | "month" | "hours" | "minutes" | "seconds";
|
7 | setOpenView: React.Dispatch<React.SetStateAction<"date" | "year" | "month" | "hours" | "minutes" | "seconds">>;
|
8 | };
|