import type * as React from 'react' import { cn } from '../../utils' type TableRootProps = React.HTMLAttributes & { ref?: React.Ref } const TableRoot = ({ className, ref, ...props }: TableRootProps) => (
) TableRoot.displayName = 'TableRoot' type TableSectionProps = React.HTMLAttributes & { ref?: React.Ref } const TableHeader = ({ className, ref, ...props }: TableSectionProps) => ( ) TableHeader.displayName = 'TableHeader' const TableBody = ({ className, ref, ...props }: TableSectionProps) => ( ) TableBody.displayName = 'TableBody' type TableRowProps = React.HTMLAttributes & { ref?: React.Ref } const TableRow = ({ className, ref, ...props }: TableRowProps) => ( ) TableRow.displayName = 'TableRow' type TableHeadProps = React.ThHTMLAttributes & { ref?: React.Ref } const TableHead = ({ className, ref, ...props }: TableHeadProps) => (
) TableHead.displayName = 'TableHead' type TableCellProps = React.TdHTMLAttributes & { dataCell?: boolean ref?: React.Ref } const TableCell = ({ className, ref, ...props }: TableCellProps) => ( ) TableCell.displayName = 'TableCell' export { TableRoot, TableHeader, TableBody, TableHead, TableRow, TableCell }