react-crud-mobile 1.3.352 → 1.3.354

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-crud-mobile",
3
- "version": "1.3.352",
3
+ "version": "1.3.354",
4
4
  "license": "MIT",
5
5
  "description": "Uma biblioteca de componentes para React Native v1",
6
6
  "main": "dist/index.js",
@@ -309,6 +309,7 @@ export default function UIElement(props: ElementType) {
309
309
  };
310
310
 
311
311
  const isShowInner = () => {
312
+ if (scope.isType('icon')) return false;
312
313
  if (hasChildren()) {
313
314
  return false;
314
315
  }
@@ -20,6 +20,11 @@ export default function UIIcon({ scope }: ChildType) {
20
20
 
21
21
  let library = Utils.nvl(scope.original.library, 'ion');
22
22
  let Aux = libs[library];
23
+ let css: any = scope.getStyle('icon');
23
24
 
24
- return <Aux name={name} style={scope.getStyle('icon')} />;
25
+ if (scope.original?.transient) {
26
+ css = { ...css, ...scope.getStyle() };
27
+ }
28
+
29
+ return <Aux name={name} style={css} />;
25
30
  }