MCPcopy Create free account
hub / github.com/bytebase/dbhub / TableHead

Function TableHead

frontend/src/components/ui/table.tsx:75–86  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<"th">)

Source from the content-addressed store, hash-verified

73}
74
75function TableHead({ className, ...props }: React.ComponentProps<"th">) {
76 return (
77 <th
78 className={cn(
79 "h-10 whitespace-nowrap px-2 text-left align-middle font-medium text-muted-foreground has-[[role=checkbox]]:w-px has-[[role=checkbox]]:pe-0 *:[[role=checkbox]]:translate-y-0.5",
80 className,
81 )}
82 data-slot="table-head"
83 {...props}
84 />
85 );
86}
87
88function TableCell({ className, ...props }: React.ComponentProps<"td">) {
89 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected