comic-plus
Version:
<p align="center"> <img width="200px" src="./logo.png"/> </p>
12 lines (10 loc) • 351 B
TypeScript
import { Ref, ComputedRef, InjectionKey } from 'vue';
import { StepProps } from './main.props';
export type StepProvide = {
props: StepProps;
addItem: (uid: number) => void;
removeItem: (uid: number) => void;
itemList: Ref<number[]>;
maxWidth: ComputedRef<number>;
};
export declare const STEP_PROVIDE: InjectionKey<StepProvide>;