mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
Merge branch 'develop' into big-116-open-up-the-link-component
This commit is contained in:
@@ -66,7 +66,7 @@ export function DetailItem({ label, children, name, align, className }) {
|
||||
>
|
||||
{label}
|
||||
</div>
|
||||
<div class="detail-item__content">{children}</div>
|
||||
<div>{children}</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,8 +1,13 @@
|
||||
// @ts-nocheck
|
||||
import intl from 'react-intl-universal';
|
||||
|
||||
export function FormattedMessage({ id, values }) {
|
||||
return intl.get(id, values);
|
||||
interface FormattedMessageProps {
|
||||
id: string;
|
||||
values?: Record<string, any>;
|
||||
}
|
||||
|
||||
export function FormattedMessage({ id, values }: FormattedMessageProps) {
|
||||
return <>{intl.get(id, values)}</>;
|
||||
}
|
||||
|
||||
export function FormattedHTMLMessage({ ...args }) {
|
||||
|
||||
Reference in New Issue
Block a user