stdproject/frontend/node_modules/element-plus/lib/components/dialog/src/constants.d.ts

12 lines
452 B
TypeScript
Raw Normal View History

2025-05-30 13:43:31 +08:00
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>;