MCPcopy Create free account
hub / github.com/code-with-antonio/nodebase / TableCell

Function TableCell

src/components/ui/table.tsx:81–92  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<"td">)

Source from the content-addressed store, hash-verified

79}
80
81function TableCell({ className, ...props }: React.ComponentProps<"td">) {
82 return (
83 <td
84 data-slot="table-cell"
85 className={cn(
86 "p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
87 className
88 )}
89 {...props}
90 />
91 )
92}
93
94function TableCaption({
95 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected