comic-plus
Version:
<p align="center"> <img width="200px" src="./logo.png"/> </p>
10 lines (8 loc) • 319 B
TypeScript
import { Ref, InjectionKey } from 'vue';
import { CollapseProps } from './main.props';
export type CollapseProvide = {
props: CollapseProps;
activeValue: Ref<string[] | string>;
collapseChange: (show: boolean, name: string) => void;
};
export declare const COLLAPSE_PROVIDE: InjectionKey<CollapseProvide>;