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.
12 lines (11 loc) • 364 B
TypeScript
import { PrimitiveType } from 'intl-messageformat';
import FormattedMessage from './message';
declare class FormattedHTMLMessage extends FormattedMessage<Record<string, PrimitiveType>> {
static displayName: string;
static defaultProps: {
tagName: "span";
values: {};
};
render(): JSX.Element;
}
export default FormattedHTMLMessage;