UNPKG

728 BTypeScriptView Raw
1import { IUtils } from '@date-io/core/IUtils';
2import * as React from 'react';
3export declare const MuiPickersContext: React.Context<IUtils<any> | null>;
4export declare const MuiPickersContextConsumer: React.ExoticComponent<React.ConsumerProps<IUtils<any> | null>>;
5export interface MuiPickersUtilsProviderProps {
6 utils: any;
7 children: React.ReactNode;
8 locale?: any;
9 moment?: any;
10}
11export default class MuiPickersUtilsProvider extends React.Component<MuiPickersUtilsProviderProps> {
12 static propTypes: any;
13 static getDerivedStateFromProps({ utils: Utils, locale, moment, }: MuiPickersUtilsProviderProps): {
14 utils: any;
15 };
16 state: {
17 utils: null;
18 };
19 render(): JSX.Element;
20}