react-crud-mobile 1.3.353 → 1.3.355

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.
@@ -359,6 +359,7 @@ var styles$2 = {
359
359
  };
360
360
 
361
361
  function UIIcon(_ref) {
362
+ var _scope$original;
362
363
  var scope = _ref.scope;
363
364
  var name = scope.getValue();
364
365
  var libs = {
@@ -370,9 +371,16 @@ function UIIcon(_ref) {
370
371
  };
371
372
  var library = reactCrudUtils.Utils.nvl(scope.original.library, 'ion');
372
373
  var Aux = libs[library];
374
+ var css = scope.getStyle('icon');
375
+ var fontSize = scope.part('fontSize', 20);
376
+ var size = scope.part('size', fontSize);
377
+ if ((_scope$original = scope.original) != null && _scope$original["transient"]) {
378
+ css = _extends({}, css, scope.getStyle());
379
+ }
373
380
  return /*#__PURE__*/jsxRuntime.jsx(Aux, {
381
+ size: size,
374
382
  name: name,
375
- style: scope.getStyle('icon')
383
+ style: css
376
384
  });
377
385
  }
378
386