react-crud-mobile 1.0.721 → 1.0.722

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,5 +1,5 @@
1
1
  {
2
- "version": "1.0.721",
2
+ "version": "1.0.722",
3
3
  "license": "MIT",
4
4
  "description": "Uma biblioteca de componentes para React Native",
5
5
  "main": "dist/index.js",
@@ -325,10 +325,10 @@ export default function UIElement(props: ElementType) {
325
325
  }
326
326
 
327
327
  let Value = () => {
328
- let val = getStyle('value');
328
+ let val = scope.getDisplayValue();
329
329
 
330
330
  if (val) {
331
- if (typeof val === 'object') {
331
+ if (typeof val === 'object' || typeof val === 'function') {
332
332
  return (
333
333
  <UIChildren
334
334
  {...props}
@@ -340,7 +340,7 @@ export default function UIElement(props: ElementType) {
340
340
  </UIChildren>
341
341
  );
342
342
  }
343
- return <Text style={val}>{scope.getDisplayValue()}</Text>;
343
+ return <Text style={getStyle('value')}>{}</Text>;
344
344
  }
345
345
  return <></>;
346
346
  };