MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / Table

Function Table

apps/start/src/components/ui/table.tsx:19–32  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<'table'>)

Source from the content-addressed store, hash-verified

17}
18
19function Table({ className, ...props }: React.ComponentProps<'table'>) {
20 return (
21 <div
22 data-slot="table-container"
23 className="relative w-full overflow-x-auto"
24 >
25 <table
26 data-slot="table"
27 className={cn('w-full caption-bottom bg-card', className)}
28 {...props}
29 />
30 </div>
31 );
32}
33
34function TableHeader({ className, ...props }: React.ComponentProps<'thead'>) {
35 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected