elk/components/common/dropdown/ctx.ts

6 lines
142 B
TypeScript

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