Fixed #1836 - For UseConfirm

pull/1846/head
mertsincan 2021-12-02 00:12:42 +03:00
parent 8a1987cb02
commit 990fb8d46e
1 changed files with 5 additions and 19 deletions

View File

@ -1,20 +1,6 @@
export declare function useConfirm(): {
require(args:{
message?: string;
target?: EventTarget;
group?: string;
icon?: string;
header?: string;
accept?: Function;
reject?: Function;
acceptLabel?: string;
rejectLabel?: string;
acceptIcon?: string;
rejectIcon?: string;
blockScroll?: boolean;
acceptClass?: string;
rejectClass?: string;
}): void
import { ConfirmationOptions } from '../confirmationoptions';
close(): void
}
export declare function useConfirm(): {
require: (option: ConfirmationOptions) => void;
close: () => void;
}