import * as React from 'react'; import { classNames } from '../../lib/utils'; const Table = React.forwardRef>( function Table({ className, ...props }, ref) { return (
); } ); const TableHeader = React.forwardRef< HTMLTableSectionElement, React.ComponentProps<'thead'> >(function TableHeader({ className, ...props }, ref) { return ( ); }); const TableBody = React.forwardRef< HTMLTableSectionElement, React.ComponentProps<'tbody'> >(function TableBody({ className, ...props }, ref) { return ( ); }); const TableFooter = React.forwardRef< HTMLTableSectionElement, React.ComponentProps<'tfoot'> >(function TableFooter({ className, ...props }, ref) { return ( tr]:last:border-b-0', className )} {...props} ref={ref} /> ); }); const TableRow = React.forwardRef< HTMLTableRowElement, React.ComponentProps<'tr'> >(function TableRow({ className, ...props }, ref) { return ( ); }); const TableHead = React.forwardRef< HTMLTableHeaderCellElement, React.ComponentProps<'th'> >(function TableHead({ className, ...props }, ref) { return (
); }); const TableCell = React.forwardRef< HTMLTableDataCellElement, React.ComponentProps<'td'> >(function TableCell({ className, ...props }, ref) { return ( ); }); const TableCaption = React.forwardRef< HTMLElement, React.ComponentProps<'caption'> >(function TableCaption({ className, ...props }, ref) { return (
); }); export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption, };