MCPcopy Create free account
hub / github.com/evolify/dumpfun / Table

Function Table

common/components/ui/table.tsx:5–18  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<"table">)

Source from the content-addressed store, hash-verified

3import { cn } from "@/lib/utils"
4
5function Table({ className, ...props }: React.ComponentProps<"table">) {
6 return (
7 <div
8 data-slot="table-container"
9 className="relative w-full overflow-x-auto"
10 >
11 <table
12 data-slot="table"
13 className={cn("w-full caption-bottom text-sm", className)}
14 {...props}
15 />
16 </div>
17 )
18}
19
20function TableHeader({ className, ...props }: React.ComponentProps<"thead">) {
21 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected