elk/components/common/dropdown/ctx.ts

6 lines
142 B
TypeScript
Raw Normal View History

2022-11-24 08:34:05 +00:00
import type { InjectionKey } from 'vue'
export const dropdownContextKey: InjectionKey<{
hide: () => void
}> = Symbol('dropdownContextKey')