elk/composables/injections.ts

6 lines
164 B
TypeScript
Raw Permalink Normal View History

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