From 990fb8d46e46dfaf891df4db31325baa09b27314 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Thu, 2 Dec 2021 00:12:42 +0300 Subject: [PATCH] Fixed #1836 - For UseConfirm --- src/components/useconfirm/UseConfirm.d.ts | 24 +++++------------------ 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/src/components/useconfirm/UseConfirm.d.ts b/src/components/useconfirm/UseConfirm.d.ts index 6a0c536f4..2fbb56622 100644 --- a/src/components/useconfirm/UseConfirm.d.ts +++ b/src/components/useconfirm/UseConfirm.d.ts @@ -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 -} \ No newline at end of file +export declare function useConfirm(): { + require: (option: ConfirmationOptions) => void; + close: () => void; +}