diff --git a/src/types/ui/modal-factory.ts b/src/types/ui/modal-factory.ts index a29fcd8b7..f3e454bd8 100644 --- a/src/types/ui/modal-factory.ts +++ b/src/types/ui/modal-factory.ts @@ -27,4 +27,13 @@ export type ModalFactory = { trigger?: TriggerType; triggerMeta?: unknown; }, callback: (result: T) => void, dismissCallback?: () => void) => void; + showConfirmationModal: (options: { + title: string; + question: string; + tip?: string; + cancelLabel?: string; + cancelBtnType?: string; + confirmLabel?: string; + confirmBtnType?: string; + }) => Promise; };