From f6237126a8906bc1f0b69250e950da625a96ff64 Mon Sep 17 00:00:00 2001 From: Lukas Kalbertodt Date: Mon, 1 Jul 2024 17:02:16 +0200 Subject: [PATCH] Export `ConfirmationModalProps` The export was simply forgotten before. --- src/confirmationModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/confirmationModal.tsx b/src/confirmationModal.tsx index a855980..5b41cb3 100644 --- a/src/confirmationModal.tsx +++ b/src/confirmationModal.tsx @@ -11,7 +11,7 @@ import { ModalProps, ModalHandle, Modal, Spinner, Button, boxError } from "."; import { currentRef } from "./util"; -type ConfirmationModalProps = Omit & { +export type ConfirmationModalProps = Omit & { title?: string; /** What to display in the confirm button. A string can be enough. */ buttonContent: ReactNode;