MCPcopy Create free account
hub / github.com/TanStack/ai / Table

Function Table

examples/ts-react-search/src/components/ui/table.tsx:7–20  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<'table'>)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

cnFunction · 0.85

Tested by

no test coverage detected