From 802ddc760269beb0664f26de3a9ed2b33157781a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Boduro=C4=9Flu?= <80620802+burakboduroglu@users.noreply.github.com> Date: Wed, 22 Jul 2026 20:57:48 +0300 Subject: [PATCH] =?UTF-8?q?style:=20=F0=9F=8E=A8=20improve=20data-table=20?= =?UTF-8?q?row=20interaction=20and=20empty=20state=20styling=20-=20add=20r?= =?UTF-8?q?ole=3D'button'=20for=20clickable=20rows=20-=20add=20keyboard=20?= =?UTF-8?q?focus=20and=20active=20states=20for=20clickable=20rows=20-=20so?= =?UTF-8?q?ften=20empty=20state=20border/bg=20styling?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ui/data-table.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/ui/data-table.tsx b/src/components/ui/data-table.tsx index 1bcb02b..8c0f862 100644 --- a/src/components/ui/data-table.tsx +++ b/src/components/ui/data-table.tsx @@ -220,8 +220,9 @@ export function DataTable(props: DataTableProps ( { if (!props.onRowClick || isInteractiveTarget(event.target)) return; props.onRowClick(row.original); @@ -269,7 +270,7 @@ export function DataTableFrame(props: ParentProps<{ class?: string }>) { export function DataTableEmpty(props: ParentProps<{ class?: string }>) { return ( -
+
{props.children}
);