elk/composables/injections.ts

6 lines
164 B
TypeScript
Raw Normal View History

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