@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.
- package/es/ui/SelectTable.js +2 -2
- package/package.json +1 -1
package/es/ui/SelectTable.js
CHANGED
|
@@ -17,7 +17,7 @@ const SelectTable = ({
|
|
|
17
17
|
loading = false,
|
|
18
18
|
rowKey = "key",
|
|
19
19
|
tableProps = {},
|
|
20
|
-
infiniteScroll =
|
|
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
|
)
|