dialogx
Version:
no reliance on third-party apple iphonx like popups
21 lines (20 loc) • 753 B
TypeScript
interface dpStatus {
option?: object | string;
hash?: string;
result?: string;
}
declare const _default: {
Schema: (option: any) => void;
Base: (option: any) => void;
Alert: (option: any) => Promise<dpStatus>;
Confirm: (option: any) => Promise<dpStatus>;
Prompt: (option?: any) => Promise<dpStatus>;
Img: (option: any) => Promise<dpStatus>;
Action: (option: any) => Promise<dpStatus>;
Pin: (option: any) => Promise<dpStatus>;
success: (option: any, time: any, hasMark: any) => any;
error: (option: any, time: any, hasMark: any) => any;
warn: (option: any, time: any, hasMark: any) => any;
loading: (option: any, time: any, hasMark: any) => any;
};
export default _default;