Function
TableBody
({ className, ...props }: React.ComponentProps<"tbody">)
Source from the content-addressed store, hash-verified
| 34 | } |
| 35 | |
| 36 | function TableBody({ className, ...props }: React.ComponentProps<"tbody">) { |
| 37 | return ( |
| 38 | <tbody |
| 39 | className={cn( |
| 40 | "relative in-data-[slot=frame]:rounded-xl in-data-[slot=frame]:shadow-xs before:pointer-events-none before:absolute before:inset-px not-in-data-[slot=frame]:before:hidden before:rounded-[calc(var(--radius-xl)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] dark:bg-clip-border dark:before:shadow-[0_-1px_--theme(--color-white/8%)] [&_tr:last-child]:border-0 in-data-[slot=frame]:*:[tr]:border-0 in-data-[slot=frame]:*:[tr]:*:[td]:border-b in-data-[slot=frame]:*:[tr]:*:[td]:bg-background in-data-[slot=frame]:*:[tr]:*:[td]:bg-clip-padding in-data-[slot=frame]:*:[tr]:first:*:[td]:first:rounded-ss-xl in-data-[slot=frame]:*:[tr]:*:[td]:first:border-s in-data-[slot=frame]:*:[tr]:first:*:[td]:border-t in-data-[slot=frame]:*:[tr]:last:*:[td]:last:rounded-ee-xl in-data-[slot=frame]:*:[tr]:*:[td]:last:border-e in-data-[slot=frame]:*:[tr]:first:*:[td]:last:rounded-se-xl in-data-[slot=frame]:*:[tr]:last:*:[td]:first:rounded-es-xl in-data-[slot=frame]:*:[tr]:hover:*:[td]:bg-transparent in-data-[slot=frame]:*:[tr]:data-[state=selected]:*:[td]:bg-muted/50", |
| 41 | className, |
| 42 | )} |
| 43 | data-slot="table-body" |
| 44 | {...props} |
| 45 | /> |
| 46 | ); |
| 47 | } |
| 48 | |
| 49 | function TableFooter({ className, ...props }: React.ComponentProps<"tfoot">) { |
| 50 | return ( |
Callers
nothing calls this directly
Tested by
no test coverage detected