UNPKG

@volverjs/ui-vue

Version:

@volverjs/ui-vue is a lightweight Vue 3 component library to accompany @volverjs/style.

7 lines (6 loc) 332 B
import type { Emitter } from 'mitt'; import type { InjectionKey, Ref } from 'vue'; /** * Share part of the state of the component with all its children. */ export declare function useGroupStateProvide<TGroupState extends Record<string, Ref<unknown> | Emitter<any>>>(key: InjectionKey<TGroupState>, groupState: TGroupState): void;