elk/composables/injections.ts

6 lines
164 B
TypeScript

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