@mobiscroll/react-lite
Version:
React UI library for progressive web and hybrid apps
14 lines (13 loc) • 454 B
TypeScript
import { IMobiscroll } from '../core/mobiscroll';
declare module '../core/mobiscroll' {
export interface IMobiscroll {
alert: (config: any) => Promise<boolean>;
confirm: (config: any) => Promise<boolean>;
prompt: (config: any) => Promise<string>;
toast: (config: any) => Promise<boolean>;
snackbar: (config: any) => Promise<boolean>;
notification: {
dismiss: () => void;
};
}
}