Function
Table
({ className, ...props }: React.ComponentProps<'table'>)
Source from the content-addressed store, hash-verified
| 5 | import cn from '@/utils/cn' |
| 6 | |
| 7 | function Table({ className, ...props }: React.ComponentProps<'table'>) { |
| 8 | return ( |
| 9 | <div |
| 10 | data-slot="table-container" |
| 11 | className="relative w-full overflow-x-auto" |
| 12 | > |
| 13 | <table |
| 14 | data-slot="table" |
| 15 | className={cn('w-full caption-bottom text-sm', className)} |
| 16 | {...props} |
| 17 | /> |
| 18 | </div> |
| 19 | ) |
| 20 | } |
| 21 | |
| 22 | function TableHeader({ className, ...props }: React.ComponentProps<'thead'>) { |
| 23 | return ( |
Callers
nothing calls this directly
Tested by
no test coverage detected