From 50b5618f9d83a2e3be235af92ab0ad9e32deea2e Mon Sep 17 00:00:00 2001 From: Ajay Ghanwat Date: Mon, 27 Oct 2025 13:29:28 +0530 Subject: [PATCH] New Changes with Table Component --- src/components/Table.astro | 64 ++++++++++++++++++++------------------ 1 file changed, 34 insertions(+), 30 deletions(-) diff --git a/src/components/Table.astro b/src/components/Table.astro index 9240362..e7561e9 100644 --- a/src/components/Table.astro +++ b/src/components/Table.astro @@ -1,5 +1,6 @@ --- import type { TableProps } from "../types/table/types"; +import { cn } from "../utils/cn"; const { columns = [], @@ -79,38 +80,41 @@ const id = `table-${Math.random().toString(36).slice(2, 9)}`;
- { - pagignations && ( -
-
- - Rows per page: - - -
+
+
+ + Rows per page: + + +
-
-
- -
-
+
+
- ) - } + +
+
+
+