react-crud-mobile 1.0.902 → 1.0.903

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.
@@ -1780,6 +1780,16 @@ function UIElement(props) {
1780
1780
  custom.underlayColor = 'transparent';
1781
1781
  custom.onPress = onClick;
1782
1782
  }
1783
+ var Value = function Value() {
1784
+ var value = scope.getDisplayValue();
1785
+ if (typeof value === 'object' || typeof value === 'function') {
1786
+ return /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
1787
+ style: getStyle('value'),
1788
+ children: value
1789
+ });
1790
+ }
1791
+ return value;
1792
+ };
1783
1793
  var Inner = function Inner() {
1784
1794
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
1785
1795
  children: [scope.getPart('render', null, /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {})), scope.is('type', 'button') && /*#__PURE__*/jsxRuntime.jsxs(UIButton, _extends({}, defaultsUI, {
@@ -1838,10 +1848,7 @@ function UIElement(props) {
1838
1848
  }), !scope.is('format', 'icon', 'img') && /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
1839
1849
  children: scope.getDisplayValue()
1840
1850
  })]
1841
- }), scope.is('type', 'output', 'value') && /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
1842
- style: getStyle('value'),
1843
- children: scope.getDisplayValue()
1844
- })]
1851
+ }), scope.is('type', 'output', 'value') && /*#__PURE__*/jsxRuntime.jsx(Value, {})]
1845
1852
  });
1846
1853
  };
1847
1854
  var Include = function Include(_ref) {