UNPKG

668 BTypeScriptView Raw
1import * as React from 'react';
2import { ResolvedIntlConfig as CoreResolvedIntlConfig, IntlFormatters, Formatters } from '@formatjs/intl';
3import { DEFAULT_INTL_CONFIG } from './utils';
4export declare type IntlConfig = Omit<ResolvedIntlConfig, keyof typeof DEFAULT_INTL_CONFIG> & Partial<typeof DEFAULT_INTL_CONFIG>;
5export interface ResolvedIntlConfig extends CoreResolvedIntlConfig<React.ReactNode> {
6 textComponent?: React.ComponentType | keyof React.ReactHTML;
7 wrapRichTextChunksInFragment?: boolean;
8}
9export interface IntlShape extends ResolvedIntlConfig, IntlFormatters<React.ReactNode> {
10 formatters: Formatters;
11}
12//# sourceMappingURL=types.d.ts.map
\No newline at end of file