UNPKG

@vuesax-alpha/nightly

Version:
16 lines (15 loc) 648 B
import type { ComputedRef, InjectionKey } from 'vue'; export declare type NavbarRegisterContext = (id: string) => { unregister: () => void; onClick: () => void; isActive: ComputedRef<boolean>; }; export declare const navbarRegisterContextKey: InjectionKey<NavbarRegisterContext>; export declare type NavbarContextKey = { modelValue: ComputedRef<string | undefined>; }; export declare const navbarContextKey: InjectionKey<NavbarContextKey>; export declare type NavbarGroupRegisterContext = (id: string) => { unregister: () => void; }; export declare const navbarGroupRegisterContextKey: InjectionKey<NavbarGroupRegisterContext>;