pillardash-ui-react 0.1.92 → 0.1.94
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 +1 -1
- 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
|
@@ -384,6 +384,7 @@ interface TableProps<T> {
|
|
|
384
384
|
showPagination?: boolean;
|
|
385
385
|
onRowClick?: (item: T) => void;
|
|
386
386
|
useCardLayout?: boolean;
|
|
387
|
+
emptyState?: ReactNode;
|
|
387
388
|
}
|
|
388
389
|
interface Column<T> {
|
|
389
390
|
title: ReactNode;
|
|
@@ -412,7 +413,7 @@ type TableDropdownProps = {
|
|
|
412
413
|
dropdownClassName?: string;
|
|
413
414
|
};
|
|
414
415
|
|
|
415
|
-
declare function Table<T>({ data, columns, itemsPerPage, onViewChange, totalItems, currentPage, onPageChange, loading, showPagination, onRowClick, useCardLayout, }: TableProps<T>): react_jsx_runtime.JSX.Element;
|
|
416
|
+
declare function Table<T>({ data, columns, itemsPerPage, onViewChange, totalItems, currentPage, onPageChange, loading, showPagination, onRowClick, useCardLayout, emptyState, }: TableProps<T>): react_jsx_runtime.JSX.Element;
|
|
416
417
|
|
|
417
418
|
declare function Pagination({ currentPage, totalPages, totalItems, itemsPerPage, onPageChange, onViewChange, loading, }: PaginationProps): react_jsx_runtime.JSX.Element;
|
|
418
419
|
|