You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
349 B
9 lines
349 B
2 years ago
|
import type { InjectionKey, Ref } from 'vue';
|
||
|
import type { MaybeRef } from '@vueuse/core';
|
||
|
export declare type ElIdInjectionContext = {
|
||
|
prefix: number;
|
||
|
current: number;
|
||
|
};
|
||
|
export declare const ID_INJECTION_KEY: InjectionKey<ElIdInjectionContext>;
|
||
|
export declare const useId: (deterministicId?: MaybeRef<string> | undefined) => Ref<string>;
|