MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / TableHead

Function TableHead

packages/react/src/components/table.tsx:57–68  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<"th">)

Source from the content-addressed store, hash-verified

55}
56
57function TableHead({ className, ...props }: React.ComponentProps<"th">) {
58 return (
59 <th
60 data-slot="table-head"
61 className={cn(
62 "h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
63 className,
64 )}
65 {...props}
66 />
67 );
68}
69
70function TableCell({ className, ...props }: React.ComponentProps<"td">) {
71 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected