UNPKG

@chief-editor/ui

Version:

UI Component for chief editor

7 lines (6 loc) 391 B
import { IAlertProps } from './Alert'; import { IConfirmProps } from './Confirm'; export declare type INeedWrapFunction = (...args: any[]) => Promise<any> | any | void; export declare type IWrapFunctionResult = (...args: any[]) => Promise<any>; export declare function confirm(props: Omit<IConfirmProps, 'show'>): void; export declare function alert(props: Omit<IAlertProps, 'show'>): void;