elk/components/common/dropdown/ctx.ts
2022-11-24 16:34:09 +08:00

5 lines
142 B
TypeScript

import type { InjectionKey } from 'vue'
export const dropdownContextKey: InjectionKey<{
hide: () => void
}> = Symbol('dropdownContextKey')