@vuesax-alpha/nightly
Version:
A Component Library for Vue 3
8 lines (7 loc) • 426 B
TypeScript
import type { ParentProvide } from 'vuesax-alpha/es/tokens';
import type { ComponentInternalInstance, InjectionKey } from '@vue/runtime-core';
export declare const useGroupProvide: <T extends Record<string, unknown>>(key: InjectionKey<ParentProvide<T>>, data: T) => {
children: ComponentInternalInstance[];
insert: (child: ComponentInternalInstance) => void;
remove: (child: ComponentInternalInstance) => void;
};