mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
chrone: sperate client and server to different repos.
This commit is contained in:
9
src/components/FormattedMessage.js
Normal file
9
src/components/FormattedMessage.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import intl from 'react-intl-universal';
|
||||
|
||||
export function FormattedMessage({ id }) {
|
||||
return intl.get(id);
|
||||
}
|
||||
|
||||
export function FormattedHTMLMessage({ ...args }) {
|
||||
return intl.formatHTMLMessage({ ...args })
|
||||
}
|
||||
Reference in New Issue
Block a user