@tplc/wot
Version:
9 lines (8 loc) • 387 B
TypeScript
import type { NotifyProps } from './types'
export declare const setNotifyDefaultOptions: (options: NotifyProps) => void
export declare const resetNotifyDefaultOptions: () => void
export declare const useNotify: (selector?: string) => {
showNotify: (option: NotifyProps | string) => void
closeNotify: () => void
}
export declare const getNotifyOptionKey: (selector: string) => string