UNPKG

maz-ui

Version:

A standalone components library for Vue.Js 3 & Nuxt.Js 3

23 lines (22 loc) 807 B
export declare function useToast(): { message: (message: string, options?: import('../plugins').ToastOptions) => { destroy: () => void; close: () => any; }; success: (message: string, options?: Omit<import('../plugins').ToastOptions, "type">) => { destroy: () => void; close: () => any; }; error: (message: string, options?: Omit<import('../plugins').ToastOptions, "type">) => { destroy: () => void; close: () => any; }; info: (message: string, options?: Omit<import('../plugins').ToastOptions, "type">) => { destroy: () => void; close: () => any; }; warning: (message: string, options?: Omit<import('../plugins').ToastOptions, "type">) => { destroy: () => void; close: () => any; }; };