UNPKG

images-viewer-vue3

Version:
15 lines (14 loc) 415 B
type MsgState = 'success' | 'error' | 'warning' | 'info'; interface MsgOptions { title: string; message: string; type: MsgState; duration: number; } export declare const useMessage: () => { success: (opt?: Partial<MsgOptions>) => void; error: (opt?: Partial<MsgOptions>) => void; warning: (opt?: Partial<MsgOptions>) => void; info: (opt?: Partial<MsgOptions>) => void; }; export {};