UNPKG

vueless

Version:

Vue Styleless UI Component Library, powered by Tailwind CSS.

47 lines (37 loc) 672 B
import defaultConfig from "./config"; import type { ComponentConfig } from "../types"; export type Config = typeof defaultConfig; export interface Props { /** * Tab label. */ label: string; /** * Tab value. */ value?: string | number; /** * Icon name (appears instead of label). */ icon?: string; /** * Left icon name. */ leftIcon?: string; /** * Right icon name. */ rightIcon?: string; /** * Make tab disabled. */ disabled?: boolean; /** * Component config object. */ config?: ComponentConfig<Config>; /** * Data-test attribute for automated testing. */ dataTest?: string | null; }