New Changes with Table

This commit is contained in:
Clintchiz committed 2025-11-11 15:02:51 +05:30
1 parent a528c8def8
commit 31b56ddf05
3 files changed
+8 -3

No files matched your search

+1 -1
View File
@@ -20,4 +20,4 @@ export { default as TimePicker } from "./components/TimePicker.astro";
export { default as Table } from "./components/Table.astro";
export { default as Tooltip } from "./components/Tooltip.astro";
export { cn } from "./utils/cn.js";
export type { Column, TableProps, FetchTableRequest } from "./types/table/types.js";
export type { Column, TableProps, FetchTableRequest, FetchTableResponse } from "./types/table/types.js";
+5
View File
@@ -44,4 +44,9 @@ export type FetchTableRequest = {
sortKey: string;
sortOrder: string;
search: string;
}
export interface FetchTableResponse<T> {
data: T[];
total: number;
}