pillardash-ui-react 0.1.49 → 0.1.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -236,6 +236,7 @@ interface TableProps<T> {
|
|
|
236
236
|
loading?: boolean;
|
|
237
237
|
showPagination?: boolean;
|
|
238
238
|
onRowClick?: (item: T) => void;
|
|
239
|
+
useCardLayout?: boolean;
|
|
239
240
|
}
|
|
240
241
|
interface Column<T> {
|
|
241
242
|
title: ReactNode;
|
|
@@ -264,7 +265,7 @@ type TableDropdownProps = {
|
|
|
264
265
|
dropdownClassName?: string;
|
|
265
266
|
};
|
|
266
267
|
|
|
267
|
-
declare function Table<T>({ data, columns, itemsPerPage, onViewChange, totalItems, currentPage, onPageChange, loading, showPagination, onRowClick, }: TableProps<T>): react_jsx_runtime.JSX.Element;
|
|
268
|
+
declare function Table<T>({ data, columns, itemsPerPage, onViewChange, totalItems, currentPage, onPageChange, loading, showPagination, onRowClick, useCardLayout, }: TableProps<T>): react_jsx_runtime.JSX.Element;
|
|
268
269
|
|
|
269
270
|
declare function Pagination({ currentPage, totalPages, totalItems, itemsPerPage, onPageChange, onViewChange, loading, }: PaginationProps): react_jsx_runtime.JSX.Element;
|
|
270
271
|
|