@pnkx-lib/ui 1.9.498 → 1.9.500

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.
@@ -17,7 +17,7 @@ const SelectTable = ({
17
17
  loading = false,
18
18
  rowKey = "key",
19
19
  tableProps = {},
20
- infiniteScroll = false,
20
+ infiniteScroll = true,
21
21
  loadMoreThreshold = 50,
22
22
  searchPlaceholder = "Tìm kiếm...",
23
23
  displayField = "",
@@ -168,7 +168,6 @@ const SelectTable = ({
168
168
  "div",
169
169
  {
170
170
  className: twMerge("overflow-x-hidden w-full", customeContainerTable),
171
- onScroll: handleScroll,
172
171
  children: /* @__PURE__ */ jsx(
173
172
  Table,
174
173
  {
@@ -182,6 +181,7 @@ const SelectTable = ({
182
181
  scroll: tableProps.scrollTable,
183
182
  style: { overflowX: "hidden" },
184
183
  loading: false,
184
+ onScroll: handleScroll,
185
185
  ...tableProps
186
186
  }
187
187
  )
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pnkx-lib/ui",
3
3
  "private": false,
4
- "version": "1.9.498",
4
+ "version": "1.9.500",
5
5
  "type": "module",
6
6
  "main": "./es/index.js",
7
7
  "module": "./es/index.js",