import * as React from 'react' import { cn } from '@/lib/utils' const Table = ({ className, containerClassName, ...props }: React.ComponentProps<'table'> & { /** Override the scroll container (default already includes `overflow-x-auto`). * Sticky-left columns keep that default; `overflow-x-visible` only when a * sticky header must resolve against the page scroller instead of this box. */ containerClassName?: string }) => (
) const TableHeader = ({ className, ...props }: React.ComponentProps<'thead'>) => ( ) const TableBody = ({ className, ...props }: React.ComponentProps<'tbody'>) => ( ) const TableRow = ({ className, ...props }: React.ComponentProps<'tr'>) => ( ) const TableHead = ({ className, ...props }: React.ComponentProps<'th'>) => (
) const TableCell = ({ className, ...props }: React.ComponentProps<'td'>) => ( ) const TableCaption = ({ className, ...props }: React.ComponentProps<'caption'>) => (
) export { Table, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow }