react-crud-mobile 1.0.583 → 1.0.585

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.
@@ -1395,14 +1395,22 @@ function UIElement(props) {
1395
1395
  }
1396
1396
  return true;
1397
1397
  };
1398
+ var Tag = reactNative.View;
1399
+ var custom = {};
1400
+ if (!scope.isType('input', 'grid', 'list', 'repeat') && original.click) {
1401
+ Tag = reactNative.TouchableHighlight;
1402
+ custom.underlayColor = 'transparent';
1403
+ custom.onPress = onClick;
1404
+ }
1398
1405
  return /*#__PURE__*/jsxRuntime.jsx(CrudContext.Provider, {
1399
1406
  value: {
1400
1407
  crud: crud,
1401
1408
  theme: theme
1402
1409
  },
1403
- children: /*#__PURE__*/jsxRuntime.jsx(reactNative.View, {
1410
+ children: /*#__PURE__*/jsxRuntime.jsx(Tag, _extends({
1404
1411
  ref: ref,
1405
- style: getStyle(),
1412
+ style: getStyle()
1413
+ }, custom, {
1406
1414
  children: /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
1407
1415
  children: [isShowLabel() && /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
1408
1416
  style: getStyle('label'),
@@ -1493,7 +1501,7 @@ function UIElement(props) {
1493
1501
  style: getStyle('inner')
1494
1502
  }))]
1495
1503
  })
1496
- })
1504
+ }))
1497
1505
  });
1498
1506
  }
1499
1507
  var box = {