diff --git a/striker-ui/components/ConfirmDialog.tsx b/striker-ui/components/ConfirmDialog.tsx index 3298375a..5259db49 100644 --- a/striker-ui/components/ConfirmDialog.tsx +++ b/striker-ui/components/ConfirmDialog.tsx @@ -49,6 +49,7 @@ const ConfirmDialog = forwardRef< onProceedAppend, onSubmitAppend, openInitially = false, + preActionArea, proceedButtonProps = {}, proceedColour: proceedColourKey = 'blue', scrollContent: isScrollContent = false, @@ -234,6 +235,7 @@ const ConfirmDialog = forwardRef< {contentElement} + {preActionArea} {actionAreaElement} diff --git a/striker-ui/types/ConfirmDialog.d.ts b/striker-ui/types/ConfirmDialog.d.ts index f9fdde02..24e94d11 100644 --- a/striker-ui/types/ConfirmDialog.d.ts +++ b/striker-ui/types/ConfirmDialog.d.ts @@ -10,6 +10,7 @@ type ConfirmDialogOptionalProps = { onCancelAppend?: ContainedButtonProps['onClick']; onSubmitAppend?: import('react').FormEventHandler; openInitially?: boolean; + preActionArea?: import('react').ReactNode; proceedButtonProps?: ContainedButtonProps; proceedColour?: 'blue' | 'red'; scrollContent?: boolean;