({ className, ...props }: React.ComponentProps<"caption">)
| 81 | } |
| 82 | |
| 83 | function TableCaption({ className, ...props }: React.ComponentProps<"caption">) { |
| 84 | return ( |
| 85 | <caption |
| 86 | data-slot="table-caption" |
| 87 | className={cn("mt-4 text-sm text-muted-foreground", className)} |
| 88 | {...props} |
| 89 | /> |
| 90 | ); |
| 91 | } |
| 92 | |
| 93 | export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption }; |