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.
14 lines
419 B
14 lines
419 B
import { InjectionKey, Ref } from 'vue' |
|
import type { Modal, ModalOptions } from './types' |
|
/** |
|
* 默认参数 |
|
*/ |
|
export declare const defaultModalOptions: ModalOptions |
|
/** |
|
* useModal 用到的key |
|
* |
|
* @internal |
|
*/ |
|
export declare const modalDefaultKey: InjectionKey<Ref<boolean>> |
|
export declare const modalDefaultOptionKey: InjectionKey<Ref<ModalOptions>> |
|
export declare function useModal(selector?: string): Modal
|
|
|