Merge branch 'develop' into big-116-open-up-the-link-component

This commit is contained in:
Ahmed Bouhuolia
2024-02-24 00:47:35 +02:00
committed by GitHub
383 changed files with 6841 additions and 1990 deletions

View File

@@ -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>
);
}

View File

@@ -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 }) {