react-intl
Version:
Internationalize React apps. This library provides React components and an API to format dates, numbers, and strings, including pluralization and handling translations.
10 lines • 450 B
TypeScript
import * as React from 'react';
import { IntlConfig as CoreIntlConfig, IntlFormatters, Formatters } from '@formatjs/intl';
export interface IntlConfig extends CoreIntlConfig<React.ReactNode> {
textComponent?: React.ComponentType | keyof React.ReactHTML;
wrapRichTextChunksInFragment?: boolean;
}
export interface IntlShape extends IntlConfig, IntlFormatters<React.ReactNode> {
formatters: Formatters;
}
//# sourceMappingURL=types.d.ts.map