UNPKG

comic-plus

Version:

<p align="center"> <img width="200px" src="./logo.png"/> </p>

14 lines (12 loc) 408 B
import { InjectionKey, VNode } from 'vue'; import { TabsProps } from './main.props'; import { TabPaneProps } from './pane.props'; export type PaneInstance = { labelSlots: VNode[]; } & TabPaneProps; export type TabsProvide = { props: TabsProps; addTab: (pane: PaneInstance) => void; removeTab: (anme: string | number) => void; }; export declare const TABS_PROVIDE: InjectionKey<TabsProvide>;