@pk-design/react-tailwind 1.1.1 → 1.1.2
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.
|
@@ -476,7 +476,7 @@ const TableHeaderCell = ({ children, align = 'left', className, ...props }) => (
|
|
|
476
476
|
/* ----------------------------------------------
|
|
477
477
|
* Empty Row
|
|
478
478
|
* ---------------------------------------------- */
|
|
479
|
-
const EmptyTableRow = ({ children, colSpan = 1, contentClass, }) => (jsxRuntime.jsx("tr", { children: jsxRuntime.jsx("td", { colSpan: colSpan, className: "px-4 py-8", children: jsxRuntime.jsx("div", { className: buildClassName('p-6 text-center space-y-3 flex flex-col items-center justify-center', contentClass), children: children }) }) }));
|
|
479
|
+
const EmptyTableRow = ({ children, colSpan = 1, contentClass, }) => (jsxRuntime.jsx("tr", { className: "bg-white dark:bg-gray-900", children: jsxRuntime.jsx("td", { colSpan: colSpan, className: "px-4 py-8", children: jsxRuntime.jsx("div", { className: buildClassName('p-6 text-center space-y-3 flex flex-col items-center justify-center', contentClass), children: children }) }) }));
|
|
480
480
|
|
|
481
481
|
const DOTS = '...';
|
|
482
482
|
const usePagination = ({ totalPages, currentPage, siblingCount = 1, // number of pages to show around currentPage
|