///
import PropTypes from 'prop-types';
import React from 'react';
export interface LocaleProviderProps {
locale: {
Pagination?: object;
DatePicker?: object;
DatePickerView?: object;
InputItem?: object;
};
children?: React.ReactElement;
}
export default class LocaleProvider extends React.Component {
static propTypes: {
locale: PropTypes.Requireable;
};
static childContextTypes: {
antLocale: PropTypes.Requireable;
};
getChildContext(): {
antLocale: {
exist: boolean;
Pagination?: object | undefined;
DatePicker?: object | undefined;
DatePickerView?: object | undefined;
InputItem?: object | undefined;
};
};
render(): React.ReactElement;
}