You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
419 B
15 lines
419 B
2 years ago
|
import { InjectionKey, Ref } from 'vue'
|
||
|
import type { Toast, ToastOptions } from './types'
|
||
|
/**
|
||
|
* useToast 用到的key
|
||
|
*
|
||
|
* @internal
|
||
|
*/
|
||
|
export declare const toastDefaultKey: InjectionKey<Ref<boolean>>
|
||
|
export declare const toastDefaultOptionKey: InjectionKey<Ref<ToastOptions>>
|
||
|
/**
|
||
|
* 默认参数
|
||
|
*/
|
||
|
export declare const defaultToastOptions: ToastOptions
|
||
|
export declare function useToast(selector?: string): Toast
|