react-crud-mobile 1.3.154 → 1.3.156

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.
@@ -1412,9 +1412,8 @@ function UIModal(_ref) {
1412
1412
  };
1413
1413
  var ModalContent = function ModalContent(_ref2) {
1414
1414
  var children = _ref2.children;
1415
- var disableScroll = scope.getPart('disableScroll', false);
1416
- var disableContent = scope.getPart('disableContent', false);
1417
- console.log(disableScroll);
1415
+ var disableScroll = scope.part('disableScroll', false);
1416
+ var disableContent = scope.part('disableContent', false);
1418
1417
  if (disableContent) {
1419
1418
  return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
1420
1419
  children: children
@@ -1427,15 +1426,24 @@ function UIModal(_ref) {
1427
1426
  children: children
1428
1427
  });
1429
1428
  }
1430
- return /*#__PURE__*/jsxRuntime.jsx(reactNative.ScrollView, {
1431
- contentContainerStyle: {
1432
- flexGrow: 1,
1433
- paddingBottom: 50
1429
+ return /*#__PURE__*/jsxRuntime.jsx(reactNative.View, {
1430
+ style: {
1431
+ flex: 1,
1432
+ paddingLeft: 15,
1433
+ paddingRight: 15,
1434
+ paddingTop: 10,
1435
+ paddingBottom: 10
1434
1436
  },
1435
- style: style('modalContent'),
1436
- nestedScrollEnabled: true,
1437
- ref: scrollRef,
1438
- children: children
1437
+ children: /*#__PURE__*/jsxRuntime.jsx(reactNative.ScrollView, {
1438
+ contentContainerStyle: {
1439
+ flexGrow: 1,
1440
+ paddingBottom: 50
1441
+ },
1442
+ style: style('modalContent'),
1443
+ nestedScrollEnabled: true,
1444
+ ref: scrollRef,
1445
+ children: children
1446
+ })
1439
1447
  });
1440
1448
  };
1441
1449
  var ModalView = function ModalView(_ref3) {
@@ -1485,16 +1493,7 @@ function UIModal(_ref) {
1485
1493
  children: headerRight
1486
1494
  })]
1487
1495
  }), /*#__PURE__*/jsxRuntime.jsx(ModalContent, {
1488
- children: /*#__PURE__*/jsxRuntime.jsx(reactNative.View, {
1489
- style: {
1490
- flex: 1,
1491
- paddingLeft: 15,
1492
- paddingRight: 15,
1493
- paddingTop: 10,
1494
- paddingBottom: 10
1495
- },
1496
- children: /*#__PURE__*/jsxRuntime.jsx(Content, {})
1497
- })
1496
+ children: /*#__PURE__*/jsxRuntime.jsx(Content, {})
1498
1497
  }), bottom]
1499
1498
  }), /*#__PURE__*/jsxRuntime.jsx(UIToast, {})]
1500
1499
  });