import { inject } from 'vue' ; import { MenuContext , MenuInjectionKey } from '../context' ; export default function useMenuContext ( ) { const menuContext = inject ( MenuInjectionKey ) ; return menuContext || { } ; }