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