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

Function TableHead

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

Source from the content-addressed store, hash-verified

78}
79
80function TableHead({ className, ...props }: React.ComponentProps<'th'>) {
81 return (
82 <th
83 data-slot="table-head"
84 className={cn(
85 'text-[10px] uppercase text-foreground h-10 px-4 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]',
86 className,
87 )}
88 {...props}
89 />
90 );
91}
92
93function TableCell({ className, ...props }: React.ComponentProps<'td'>) {
94 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected