UNPKG

@vuesax-alpha/nightly

Version:
10 lines (9 loc) 417 B
import type { InjectionKey, Ref } from 'vue'; import type { MaybeRef } from 'vuesax-alpha/es/utils'; export declare type IdInjectionContext = { prefix: number; current: number; }; export declare const ID_INJECTION_KEY: InjectionKey<IdInjectionContext>; export declare const useIdInjection: () => IdInjectionContext; export declare const useId: (deterministicId?: MaybeRef<string> | undefined) => Ref<string>;