Skip to content

Commit

Permalink
Allow nodes for ConfirmationModal heading
Browse files Browse the repository at this point in the history
  • Loading branch information
ncovercash authored Mar 14, 2024
1 parent 068d23e commit a93ac89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/lib/ConfirmationModal/ConfirmationModal.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<p>` tag (unless overrode in `bodyTag`) */
message?: ReactNode;

Expand Down

0 comments on commit a93ac89

Please sign in to comment.