From fd082b5dcf12beeeeb456790a32a109658159585 Mon Sep 17 00:00:00 2001 From: frodehansen2 Date: Tue, 21 Jan 2025 09:49:04 +0100 Subject: [PATCH] Revert type --- .../src/components/formik-modal-form/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/sif-common-formik-ds/src/components/formik-modal-form/types.ts b/packages/sif-common-formik-ds/src/components/formik-modal-form/types.ts index 87db8aa8f..9f76a01a3 100644 --- a/packages/sif-common-formik-ds/src/components/formik-modal-form/types.ts +++ b/packages/sif-common-formik-ds/src/components/formik-modal-form/types.ts @@ -6,7 +6,7 @@ export interface ModalFormAndListListItemBase { export interface ModalFormAndListLabels { modalTitle: string; - modalDescription?: ReactElement; + modalDescription?: React.ReactNode; listTitle?: string; emptyListText?: string; addLabel: string; @@ -15,7 +15,7 @@ export interface ModalFormAndListLabels { export interface ModalFormAndInfoLabels { modalTitle: string; - infoTitle?: ReactElement; + infoTitle?: React.ReactNode; addLabel: string; editLabel: string; deleteLabel: string;