From 9516c8dd881535bd56525a6fabada40185cf694e Mon Sep 17 00:00:00 2001 From: Luke Vella Date: Mon, 24 Mar 2025 13:38:34 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Update=20table=20component?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/ui/src/table.tsx | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/packages/ui/src/table.tsx b/packages/ui/src/table.tsx index 6ac0761c1..a0b9b86f3 100644 --- a/packages/ui/src/table.tsx +++ b/packages/ui/src/table.tsx @@ -6,7 +6,7 @@ const Table = React.forwardRef< HTMLTableElement, React.HTMLAttributes >(({ className, ...props }, ref) => ( -
+
(({ className, ...props }, ref) => ( tr]:last:border-b-0", + className, + )} {...props} /> )); @@ -55,7 +58,7 @@ const TableRow = React.forwardRef< [role=checkbox]]:translate-y-[2px]", className, )} {...props} @@ -84,7 +87,10 @@ const TableCell = React.forwardRef< >(({ className, ...props }, ref) => (
[role=checkbox]]:translate-y-[2px]", + className, + )} {...props} /> ));