@vuesax-alpha/nightly
Version:
A Component Library for Vue 3
9 lines (8 loc) • 481 B
TypeScript
import type { ParentProvide } from 'vuesax-alpha/es/tokens';
import type { InjectionKey } from 'vue';
export declare const useGroupInject: <T extends Record<string, unknown>>(key: InjectionKey<ParentProvide<T>>) => (T & {
index: import("vue").ComputedRef<number>;
children: import("vue").ComponentInternalInstance[];
insert: (child: import("vue").ComponentInternalInstance) => void;
remove: (child: import("vue").ComponentInternalInstance) => void;
}) | undefined;