@apexcura/ui-components 0.0.14-Beta174 → 0.0.14-Beta175
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.js +7 -5
- package/dist/index.mjs +7 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -845,11 +845,13 @@ var TableElement = (props) => {
|
|
|
845
845
|
import_antd14.Table,
|
|
846
846
|
{
|
|
847
847
|
className: props.className,
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
848
|
+
...props.pagination && {
|
|
849
|
+
pagination: {
|
|
850
|
+
showTotal: (total) => `Total: ${total} items`,
|
|
851
|
+
total: props.count,
|
|
852
|
+
showSizeChanger: props.count ? props.count > 10 : false,
|
|
853
|
+
onChange: onChangePage
|
|
854
|
+
}
|
|
853
855
|
},
|
|
854
856
|
onRow: (record) => {
|
|
855
857
|
return {
|
package/dist/index.mjs
CHANGED
|
@@ -779,11 +779,13 @@ var TableElement = (props) => {
|
|
|
779
779
|
Table2,
|
|
780
780
|
{
|
|
781
781
|
className: props.className,
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
782
|
+
...props.pagination && {
|
|
783
|
+
pagination: {
|
|
784
|
+
showTotal: (total) => `Total: ${total} items`,
|
|
785
|
+
total: props.count,
|
|
786
|
+
showSizeChanger: props.count ? props.count > 10 : false,
|
|
787
|
+
onChange: onChangePage
|
|
788
|
+
}
|
|
787
789
|
},
|
|
788
790
|
onRow: (record) => {
|
|
789
791
|
return {
|