react-crud-mobile 1.0.808 → 1.0.809
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 -0
- 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 -0
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIButton.tsx +2 -1
|
@@ -445,9 +445,13 @@ function UIButton(props) {
|
|
|
445
445
|
var iconStyle = reactCrudUtils.Utils.call(function () {
|
|
446
446
|
var css = style('buttonIcon', extra.icon);
|
|
447
447
|
var size = element.size;
|
|
448
|
+
if (element.variant === 'text') {
|
|
449
|
+
css.color = 'text';
|
|
450
|
+
}
|
|
448
451
|
if (size) {
|
|
449
452
|
css = _extends({}, css, iconStyle[size]);
|
|
450
453
|
}
|
|
454
|
+
return css;
|
|
451
455
|
});
|
|
452
456
|
return /*#__PURE__*/jsxRuntime.jsx(reactNative.TouchableHighlight, {
|
|
453
457
|
underlayColor: 'transparent',
|