1 | import type { FormatXMLElementFn, Options as IntlMessageFormatOptions, PrimitiveType } from 'intl-messageformat';
|
2 | import * as React from 'react';
|
3 | import { MessageDescriptor } from '@formatjs/intl';
|
4 | export interface Props<V extends Record<string, any> = Record<string, React.ReactNode | PrimitiveType | FormatXMLElementFn<React.ReactNode>>> extends MessageDescriptor {
|
5 | values?: V;
|
6 | tagName?: React.ElementType<any>;
|
7 | children?(nodes: React.ReactNode[]): React.ReactNode | null;
|
8 | ignoreTag?: IntlMessageFormatOptions['ignoreTag'];
|
9 | }
|
10 | declare const MemoizedFormattedMessage: React.ComponentType<Props>;
|
11 | export default MemoizedFormattedMessage;
|