mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
re-structure to monorepo.
This commit is contained in:
12
packages/webapp/src/components/FormattedMessage/index.tsx
Normal file
12
packages/webapp/src/components/FormattedMessage/index.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
// @ts-nocheck
|
||||
import intl from 'react-intl-universal';
|
||||
|
||||
export function FormattedMessage({ id, values }) {
|
||||
return intl.get(id, values);
|
||||
}
|
||||
|
||||
export function FormattedHTMLMessage({ ...args }) {
|
||||
return intl.formatHTMLMessage({ ...args });
|
||||
}
|
||||
|
||||
export const T = FormattedMessage;
|
||||
Reference in New Issue
Block a user