@pnkx-lib/ui 1.9.420 → 1.9.421

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.
@@ -110,7 +110,7 @@ const SelectTable = ({
110
110
  rowKey,
111
111
  size: tableProps.size || "small",
112
112
  pagination: false,
113
- scroll: { y: 500 },
113
+ scroll: tableProps.scrollTable,
114
114
  style: { overflowX: "hidden" },
115
115
  loading,
116
116
  onScroll: handleScroll,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pnkx-lib/ui",
3
3
  "private": false,
4
- "version": "1.9.420",
4
+ "version": "1.9.421",
5
5
  "type": "module",
6
6
  "main": "./es/index.js",
7
7
  "module": "./es/index.js",
@@ -13,6 +13,10 @@ export interface SelectTableProps<T = Record<string, unknown>> extends Omit<Sele
13
13
  tableProps?: {
14
14
  size?: "small" | "middle" | "large";
15
15
  pagination?: false;
16
+ scrollTable?: {
17
+ y?: number;
18
+ x?: number;
19
+ };
16
20
  };
17
21
  infiniteScroll?: boolean;
18
22
  loadMoreThreshold?: number;