New Changes with Table
This commit is contained in:
+1
-1
@@ -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";
|
||||
@@ -44,4 +44,9 @@ export type FetchTableRequest = {
|
||||
sortKey: string;
|
||||
sortOrder: string;
|
||||
search: string;
|
||||
}
|
||||
|
||||
export interface FetchTableResponse<T> {
|
||||
data: T[];
|
||||
total: number;
|
||||
}
|
||||
Reference in New Issue
Block a user