@oliasoft-open-source/react-ui-library 5.0.9-beta-1 → 5.0.9-beta-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.
package/dist/index.d.ts CHANGED
@@ -1384,6 +1384,7 @@ declare interface ITableTableProps {
1384
1384
  defaultEmptyRow?: any;
1385
1385
  stickyHeaders?: string | boolean;
1386
1386
  actions?: any;
1387
+ rowCount?: number;
1387
1388
  }
1388
1389
 
1389
1390
  declare interface ITabOption {
package/dist/index.js CHANGED
@@ -169466,7 +169466,7 @@ const TableVirtualScrollWrapper = ({
169466
169466
  const MIN_ITEM_HEIGHT = 30;
169467
169467
  const BORDER_WIDTH = 1;
169468
169468
  const virtualizer = useVirtualizer({
169469
- count: ((_a2 = table2.rows) == null ? void 0 : _a2.length) ?? 0,
169469
+ count: (table2 == null ? void 0 : table2.rowCount) ?? ((_a2 = table2.rows) == null ? void 0 : _a2.length) ?? 0,
169470
169470
  getScrollElement: () => containerRef.current,
169471
169471
  estimateSize: () => MIN_ITEM_HEIGHT + BORDER_WIDTH,
169472
169472
  overscan: 10