import * as React from "react"; import { cn } from "@/lib/utils"; const Table = ({ ref, className, ...props }: React.HTMLAttributes & { ref: React.RefObject; }) => (
); Table.displayName = "Table"; const TableHeader = ({ ref, className, ...props }: React.HTMLAttributes & { ref: React.RefObject; }) => ( ); TableHeader.displayName = "TableHeader"; const TableBody = ({ ref, className, ...props }: React.HTMLAttributes & { ref: React.RefObject; }) => ( ); TableBody.displayName = "TableBody"; const TableFooter = ({ ref, className, ...props }: React.HTMLAttributes & { ref: React.RefObject; }) => ( tr]:last:border-b-0", className, )} {...props} /> ); TableFooter.displayName = "TableFooter"; const TableRow = ({ ref, className, ...props }: React.HTMLAttributes & { ref: React.RefObject; }) => ( ); TableRow.displayName = "TableRow"; const TableHead = ({ ref, className, ...props }: React.ThHTMLAttributes & { ref: React.RefObject; }) => (
[role=checkbox]]:translate-y-[2px]", className, )} {...props} /> ); TableHead.displayName = "TableHead"; const TableCell = ({ ref, className, ...props }: React.TdHTMLAttributes & { ref: React.RefObject; }) => ( [role=checkbox]]:translate-y-[2px]", className, )} {...props} /> ); TableCell.displayName = "TableCell"; const TableCaption = ({ ref, className, ...props }: React.HTMLAttributes & { ref: React.RefObject; }) => (
); TableCaption.displayName = "TableCaption"; export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption, };