UNPKG

antd-mobile-rn

Version:

基于蚂蚁金服移动设计规范的 React Native 组件库

32 lines (31 loc) 919 B
import PropTypes from 'prop-types'; import React from 'react'; export interface LocaleProviderProps { locale: { Pagination?: object; DatePicker?: object; DatePickerView?: object; InputItem?: object; Modal?: object; }; children?: React.ReactElement<any>; } export default class LocaleProvider extends React.Component<LocaleProviderProps, any> { static propTypes: { locale: PropTypes.Requireable<object>; }; static childContextTypes: { antLocale: PropTypes.Requireable<object>; }; getChildContext(): { antLocale: { exist: boolean; Pagination?: object | undefined; DatePicker?: object | undefined; DatePickerView?: object | undefined; InputItem?: object | undefined; Modal?: object | undefined; }; }; render(): React.ReactElement<any>; }