element-plus
Version:
A Component Library for Vue 3
12 lines (11 loc) • 452 B
TypeScript
import type { CSSProperties, ComputedRef, InjectionKey, Ref } from 'vue';
import type { UseNamespaceReturn } from 'element-plus/es/hooks';
export type DialogContext = {
dialogRef: Ref<HTMLElement | undefined>;
headerRef: Ref<HTMLElement | undefined>;
bodyId: Ref<string>;
ns: UseNamespaceReturn;
rendered: Ref<boolean>;
style: ComputedRef<CSSProperties>;
};
export declare const dialogInjectionKey: InjectionKey<DialogContext>;