react-crud-mobile 1.3.349 → 1.3.351
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/react-crud-mobile.cjs.development.js +4 -3
- package/dist/react-crud-mobile.cjs.development.js.map +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js.map +1 -1
- package/dist/react-crud-mobile.esm.js +4 -3
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/elements/UI.tsx +1 -1
- package/src/elements/core/UIButton.tsx +3 -2
@@ -487,10 +487,10 @@ function UIButton(props) {
|
|
487
487
|
style: buttonStyle,
|
488
488
|
children: /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
489
489
|
children: [icon && /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
|
490
|
-
children: /*#__PURE__*/jsxRuntime.jsx(
|
490
|
+
children: /*#__PURE__*/jsxRuntime.jsx(UI.Icon, {
|
491
491
|
size: reactCrudUtils.Utils.nvl(element.iconSize, 30),
|
492
492
|
style: iconStyle,
|
493
|
-
|
493
|
+
value: icon
|
494
494
|
})
|
495
495
|
}), label && /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
|
496
496
|
style: buttonLabel,
|
@@ -2692,7 +2692,8 @@ var UI = {
|
|
2692
2692
|
},
|
2693
2693
|
Icon: function Icon(props) {
|
2694
2694
|
return /*#__PURE__*/jsxRuntime.jsx(UIElement, _extends({}, props, {
|
2695
|
-
type: "icon"
|
2695
|
+
type: "icon",
|
2696
|
+
"transient": true
|
2696
2697
|
}));
|
2697
2698
|
},
|
2698
2699
|
Output: function Output(props) {
|