import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs'; import { cn } from '@/lib/utils'; /** * TabWrapperProps interface extends React.ComponentProps to include all standard Tabs attributes. */ interface TabWrapperProps extends React.ComponentProps { /** * The orientation of the tabs. * @default 'horizontal' */ orientation?: 'horizontal' | 'vertical'; } /** * A wrapper component for the Tabs component from `ui/tabs`. * * @param {TabWrapperProps} props - The props for the component. * @returns {React.ReactElement} A Tabs element containing the tabs and content. */ export function TabWrapper({ children, className, orientation = 'horizontal', ...props }: TabWrapperProps) { return ( {children} ); } // Re-export tab components for convenience export { TabsContent, TabsList, TabsTrigger };