import type { ComputedRef, InjectionKey, Ref } from 'vue' export type ElDropdownInjectionContext = { contentRef: Ref role: ComputedRef triggerId: ComputedRef isUsingKeyboard: Ref onItemLeave: (e: PointerEvent) => void onItemEnter: (e: PointerEvent) => void } export const DROPDOWN_INJECTION_KEY: InjectionKey = Symbol('elDropdown')