Function
Table
({ className, ...props }: React.ComponentProps<'table'>)
Source from the content-addressed store, hash-verified
| 17 | } |
| 18 | |
| 19 | function Table({ className, ...props }: React.ComponentProps<'table'>) { |
| 20 | return ( |
| 21 | <div |
| 22 | data-slot="table-container" |
| 23 | className="relative w-full overflow-x-auto" |
| 24 | > |
| 25 | <table |
| 26 | data-slot="table" |
| 27 | className={cn('w-full caption-bottom bg-card', className)} |
| 28 | {...props} |
| 29 | /> |
| 30 | </div> |
| 31 | ); |
| 32 | } |
| 33 | |
| 34 | function TableHeader({ className, ...props }: React.ComponentProps<'thead'>) { |
| 35 | return ( |
Callers
nothing calls this directly
Tested by
no test coverage detected