MCPcopy Create free account
hub / github.com/better-auth/examples / TableCell

Function TableCell

astro-example/src/components/ui/table.tsx:70–82  ·  view source on GitHub ↗
(props: ComponentProps<"td">)

Source from the content-addressed store, hash-verified

68};
69
70export const TableCell = (props: ComponentProps<"td">) => {
71 const [local, rest] = splitProps(props, ["class"]);
72
73 return (
74 <td
75 class={cn(
76 "p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
77 local.class,
78 )}
79 {...rest}
80 />
81 );
82};
83
84export const TableCaption = (props: ComponentProps<"caption">) => {
85 const [local, rest] = splitProps(props, ["class"]);

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected