From a93ac8989eb4221da7aaa5aa46323f6d47ae980b Mon Sep 17 00:00:00 2001 From: Noah Overcash Date: Thu, 14 Mar 2024 09:44:51 -0400 Subject: [PATCH] Allow nodes for ConfirmationModal heading See https://github.com/folio-org/stripes-components/pull/2250 --- components/lib/ConfirmationModal/ConfirmationModal.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/lib/ConfirmationModal/ConfirmationModal.d.ts b/components/lib/ConfirmationModal/ConfirmationModal.d.ts index dbe0492..308ef30 100644 --- a/components/lib/ConfirmationModal/ConfirmationModal.d.ts +++ b/components/lib/ConfirmationModal/ConfirmationModal.d.ts @@ -2,8 +2,8 @@ import { FunctionComponent, MouseEventHandler, ReactNode } from 'react'; import { ButtonStyle } from '../Button'; export interface ConfirmationModalProps { - /** The modal's H1 tag and ARIA-label */ - heading: string; + /** The modal's H1 tag */ + heading: ReactNode; /** The modal's message, rendered within a `

` tag (unless overrode in `bodyTag`) */ message?: ReactNode;