@lax-wp/design-system
Version:
A comprehensive React + TypeScript design system built with Vite, providing reusable UI components for the LAX web portal applications. Features a complete set of form components, data display elements, and interactive controls with full TypeScript suppor
13 lines (12 loc) • 488 B
TypeScript
import React from 'react';
export interface TabsProps<T extends string> {
variant?: 'default' | 'switch';
tabs: T[];
activeTab: T;
onTabClick: (tab: T) => void;
size?: 'sm' | 'md' | 'lg';
tabIcons?: Partial<Record<T, React.ReactNode>>;
height?: string;
className?: string;
}
export declare const Tabs: <T extends string>({ variant, tabs, activeTab, onTabClick, size, tabIcons, height, className }: TabsProps<T>) => import("react/jsx-runtime").JSX.Element;