chowa
Version:
UI component library based on React
22 lines (21 loc) • 673 B
TypeScript
/**
* @license chowa v1.1.3
*
* Copyright (c) Chowa Techonlogies Co.,Ltd.(http://www.chowa.cn).
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import * as React from 'react';
import { I18nInterface } from './context';
import I18nReceiver from './receiver';
import formatter from './formatter';
export interface I18nProviderProps {
lang: I18nInterface;
}
export interface I18nProviderInterface {
I18nReceiver: typeof I18nReceiver;
formatter: typeof formatter;
}
declare const I18nProvider: React.SFC<I18nProviderProps> & I18nProviderInterface;
export default I18nProvider;