UNPKG

@lui-ui/lui-vue

Version:

This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.

13 lines (12 loc) 452 B
import type { InjectionKey } from 'vue'; import type { TabContext } from './types'; export interface ContextDefination { registerTab(tab: any): void; unRegisterTab(tab: any): void; registerPanel(panel: any): void; unRegisterPanel(panel: any): void; registerTabButtonsContainer(panel: any): void; setSelectedIndex(index: number): void; context: TabContext; } export declare const ContextKey: InjectionKey<ContextDefination>;