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

Function TableHead

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

Source from the content-addressed store, hash-verified

66}
67
68function TableHead({ className, ...props }: React.ComponentProps<'th'>) {
69 return (
70 <th
71 data-slot="table-head"
72 className={cn(
73 'text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]',
74 className,
75 )}
76 {...props}
77 />
78 )
79}
80
81function TableCell({ className, ...props }: React.ComponentProps<'td'>) {
82 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.85

Tested by

no test coverage detected