From 4ba7af4dc579ae5a99cf6b9d2e209b3d8719c4e7 Mon Sep 17 00:00:00 2001 From: Oliver Bryan <04oliverbryan@gmail.com> Date: Sun, 14 Dec 2025 18:49:06 +0000 Subject: [PATCH] hoverEffect configuration on TableRow --- packages/frontend/src/components/issues-table.tsx | 4 ++-- packages/frontend/src/components/ui/table.tsx | 9 +++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/packages/frontend/src/components/issues-table.tsx b/packages/frontend/src/components/issues-table.tsx index 065cd29..4180848 100644 --- a/packages/frontend/src/components/issues-table.tsx +++ b/packages/frontend/src/components/issues-table.tsx @@ -11,9 +11,9 @@ export function IssuesTable({ return ( - + {(columns.id == null || columns.id === true) && ( - ID + ID )} {(columns.title == null || columns.title === true) && Title} {(columns.description == null || columns.description === true) && ( diff --git a/packages/frontend/src/components/ui/table.tsx b/packages/frontend/src/components/ui/table.tsx index af83329..dc7f5ee 100644 --- a/packages/frontend/src/components/ui/table.tsx +++ b/packages/frontend/src/components/ui/table.tsx @@ -30,12 +30,17 @@ function TableFooter({ className, ...props }: React.ComponentProps<"tfoot">) { ); } -function TableRow({ className, ...props }: React.ComponentProps<"tr">) { +function TableRow({ + className, + hoverEffect = true, + ...props +}: React.ComponentProps<"tr"> & { hoverEffect?: boolean }) { return (