elk/composables/injections.ts
2023-01-13 01:52:52 +08:00

5 lines
164 B
TypeScript

import { InjectionKeyDropdownContext } from '~/constants/symbols'
export function useDropdownContext() {
return inject(InjectionKeyDropdownContext, undefined)
}