({ className, ...props }: React.ComponentProps<'thead'>)
| 20 | } |
| 21 | |
| 22 | function TableHeader({ className, ...props }: React.ComponentProps<'thead'>) { |
| 23 | return ( |
| 24 | <thead |
| 25 | data-slot="table-header" |
| 26 | className={cn('[&_tr]:border-b', className)} |
| 27 | {...props} |
| 28 | /> |
| 29 | ) |
| 30 | } |
| 31 | |
| 32 | function TableBody({ className, ...props }: React.ComponentProps<'tbody'>) { |
| 33 | return ( |