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

Function TableRow

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

Source from the content-addressed store, hash-verified

40};
41
42export const TableRow = (props: ComponentProps<"tr">) => {
43 const [local, rest] = splitProps(props, ["class"]);
44
45 return (
46 <tr
47 class={cn(
48 "border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
49 local.class,
50 )}
51 {...rest}
52 />
53 );
54};
55
56export const TableHead = (props: ComponentProps<"th">) => {
57 const [local, rest] = splitProps(props, ["class"]);

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected