elk/composables/injections.ts

6 lines
164 B
TypeScript
Raw Normal View History

import { InjectionKeyDropdownContext } from '~/constants/symbols'
2023-01-03 12:58:08 +01:00
export function useDropdownContext() {
return inject(InjectionKeyDropdownContext, undefined)
}