[TS] Add onCancel to ConfirmationAlertOptions

This commit is contained in:
Gabe616 2023-07-16 19:31:32 +02:00 committed by Beef
parent 23715fa8a0
commit d0f88156e6

1
src/def.d.ts vendored
View file

@ -83,6 +83,7 @@ interface ConfirmationAlertOptions {
secondaryConfirmText?: string; secondaryConfirmText?: string;
onConfirmSecondary?: () => void; onConfirmSecondary?: () => void;
cancelText?: string; cancelText?: string;
onCancel?: () => void;
isDismissable?: boolean; isDismissable?: boolean;
} }