@tplc/wot
Version:
11 lines (10 loc) • 340 B
TypeScript
import type { Toast, ToastOptions } from './types'
export declare const defaultOptions: ToastOptions
export declare function useToast(selector?: string): Toast
export declare const getToastOptionKey: (selector: string) => string
export declare const toastIcon: {
success(): string
warning(): string
info(): string
error(): string
}