From d0f88156e6965733584cbbc5f41b109247e650f0 Mon Sep 17 00:00:00 2001 From: Gabe616 Date: Sun, 16 Jul 2023 19:31:32 +0200 Subject: [PATCH] [TS] Add onCancel to ConfirmationAlertOptions --- src/def.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/def.d.ts b/src/def.d.ts index f0bfbab..035febe 100644 --- a/src/def.d.ts +++ b/src/def.d.ts @@ -83,6 +83,7 @@ interface ConfirmationAlertOptions { secondaryConfirmText?: string; onConfirmSecondary?: () => void; cancelText?: string; + onCancel?: () => void; isDismissable?: boolean; }