@sunggang/ui-lib 0.2.50 → 0.2.51
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/index.esm2.js +6 -2
- package/package.json +1 -1
package/index.esm2.js
CHANGED
|
@@ -20646,8 +20646,12 @@ var BasePagination = function(param) {
|
|
|
20646
20646
|
}),
|
|
20647
20647
|
/*#__PURE__*/ jsx("button", {
|
|
20648
20648
|
type: "button",
|
|
20649
|
-
disabled:
|
|
20650
|
-
onClick:
|
|
20649
|
+
disabled: !getCanNextPage(),
|
|
20650
|
+
onClick: function() {
|
|
20651
|
+
setPageIndex(function(old) {
|
|
20652
|
+
return Math.min(old + 1, getPageCount() - 1);
|
|
20653
|
+
});
|
|
20654
|
+
},
|
|
20651
20655
|
children: ">"
|
|
20652
20656
|
}),
|
|
20653
20657
|
/*#__PURE__*/ jsx("button", {
|