1 | import * as PropTypes from 'prop-types';
|
2 | import * as React from 'react';
|
3 | export interface LocaleProviderProps {
|
4 | locale: {
|
5 | Pagination?: object;
|
6 | DatePicker?: object;
|
7 | DatePickerView?: object;
|
8 | InputItem?: object;
|
9 | };
|
10 | }
|
11 | export default class LocaleProvider extends React.Component<LocaleProviderProps, any> {
|
12 | static propTypes: {
|
13 | locale: PropTypes.Requireable<object>;
|
14 | };
|
15 | static childContextTypes: {
|
16 | antLocale: PropTypes.Requireable<object>;
|
17 | };
|
18 | getChildContext(): {
|
19 | antLocale: {
|
20 | exist: boolean;
|
21 | Pagination?: object | undefined;
|
22 | DatePicker?: object | undefined;
|
23 | DatePickerView?: object | undefined;
|
24 | InputItem?: object | undefined;
|
25 | };
|
26 | };
|
27 | render(): string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | React.ReactPortal | null | undefined;
|
28 | }
|
29 |
|
\ | No newline at end of file |