fine-true
Version:
A small and beautiful Vue3 version of the UI Library
9 lines (8 loc) • 356 B
TypeScript
import { InjectionKey, ComputedRef, Ref } from 'vue';
export declare type CollapseValueType = string | string[];
export declare type CollapseProvideType = {
accordion: ComputedRef<boolean>;
modelValue: Ref<CollapseValueType>;
toggle: (value: string) => void;
};
export declare const COLLAPSEPROVEKEY: InjectionKey<CollapseProvideType>;