'use client'; import * as React from 'react'; import * as TabsPrimitive from '@radix-ui/react-tabs'; import { cn } from '../../shared/utils'; /** * Intra-page navigation tabs (section switcher). * * @description * Segments large content areas into mutually exclusive clickable categories, * rendering each panel in-place without a URL reload. * * @ai-rules * 1. Compose strictly: `Tabs > TabsList > TabsTrigger` with panels in matching `TabsContent`. * 2. In long forms split by tabs, ensure inactive inputs retain values by correctly registering them with React Hook Form. * 3. NEVER simulate tabs with raw buttons + `useState` — use this Radix base for proper keyboard navigation (left/right arrows). */ function Tabs({ className, ...props }: React.ComponentProps) { return ( ); } function TabsList({ className, ...props }: React.ComponentProps) { return ( ); } function TabsTrigger({ className, ...props }: React.ComponentProps) { return ( ); } function TabsContent({ className, ...props }: React.ComponentProps) { return ( ); } export { Tabs, TabsList, TabsTrigger, TabsContent };