vuestic-ui
Version:
Vue 3 UI Framework
10 lines (9 loc) • 396 B
TypeScript
import { NotificationOptions } from '../toast';
/** This hook can be used without plugin used */
export declare const useToast: () => {
init: (options: string | NotificationOptions) => string | null;
notify: (options: string | NotificationOptions) => string | null;
close: (id: string) => void;
closeAll: (allApps?: boolean) => void;
closeAllCreatedInThisHook: () => void;
};