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; +}