UNPKG

keep-vue

Version:

Keep Vue is an open-source component library built on top of Vue3 and Tailwind CSS. It offers a collection of pre-designed UI components and styles that you can easily integrate into your web applications.

11 lines (10 loc) 416 B
import { type Ref } from "vue"; type TabPropsContext = { activeItem?: Ref<string>; defaultActive?: string; handleActive: (item: string) => void; variant?: "default" | "fill" | "underline"; }; declare const useProvideTabsStore: (variant: "fill" | "default" | "underline", defaultActive: string) => TabPropsContext; declare function useTabs(): TabPropsContext; export { useProvideTabsStore, useTabs };