UNPKG

@meleon/uni-ui

Version:

A uniapp components library written in vue3 and typescript

12 lines (11 loc) 526 B
import type { InjectionKey } from 'vue'; import type { TabData } from './index.interface'; export interface MlTabsGroupContext { activeKey: string | number; scrollWithAnimation: boolean; selectTabItem: (id: MlTabsGroupContext['activeKey']) => void; addTabItem: (id: MlTabsGroupContext['activeKey'], tab: TabData) => void; removeTabItem: (id: MlTabsGroupContext['activeKey']) => void; } declare const MlTabsGroupInjectionKey: InjectionKey<MlTabsGroupContext>; export { MlTabsGroupInjectionKey };