elk/composables/injections.ts

6 wiersze
164 B
TypeScript

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