UNPKG

vuestic-ui

Version:
10 lines (9 loc) 396 B
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; };