Function
WidgetTableHead
({
children,
className,
}: {
children: React.ReactNode;
className?: string;
})
Source from the content-addressed store, hash-verified
| 46 | } |
| 47 | |
| 48 | export const WidgetTableHead = ({ |
| 49 | children, |
| 50 | className, |
| 51 | }: { |
| 52 | children: React.ReactNode; |
| 53 | className?: string; |
| 54 | }) => { |
| 55 | return ( |
| 56 | <thead |
| 57 | className={cn( |
| 58 | 'text-def-1000 sticky top-0 z-10 border-b border-border bg-def-100 [&_th:last-child]:text-right [&_th]:whitespace-nowrap [&_th]:p-4 [&_th]:py-2 [&_th]:text-right [&_th:first-child]:text-left [&_th]:font-medium', |
| 59 | className, |
| 60 | )} |
| 61 | > |
| 62 | {children} |
| 63 | </thead> |
| 64 | ); |
| 65 | }; |
| 66 | |
| 67 | /** |
| 68 | * Generates container query class based on priority. |
Callers
nothing calls this directly
Tested by
no test coverage detected