@douyinfe/semi-ui
Version:
A modern, comprehensive, flexible design system and UI library. Connect DesignOps & DevOps. Quickly build beautiful React apps. Maintained by Douyin-fe team.
19 lines (18 loc) • 569 B
TypeScript
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { Locale } from './interface';
export interface LocaleProviderProps {
children?: React.ReactNode;
locale?: Locale;
}
export default class LocaleProvider extends Component<LocaleProviderProps> {
static propTypes: {
locale: PropTypes.Requireable<object>;
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
};
static defaultProps: {
locale: Locale;
};
constructor(props: LocaleProviderProps);
render(): React.JSX.Element;
}