react-crud-mobile 1.3.376 → 1.3.378

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.
@@ -1855,12 +1855,9 @@ function UIOrder(props) {
1855
1855
  return updated;
1856
1856
  });
1857
1857
  };
1858
- return /*#__PURE__*/jsxs(View, {
1858
+ return /*#__PURE__*/jsx(View, {
1859
1859
  style: styles$a.container,
1860
- children: [/*#__PURE__*/jsx(Text, {
1861
- style: styles$a.title,
1862
- children: "Lista Drag\xE1vel (Esperando que a corre\xE7\xE3o final funcione \uD83D\uDE4F)"
1863
- }), /*#__PURE__*/jsx(View, {
1860
+ children: /*#__PURE__*/jsx(View, {
1864
1861
  style: {
1865
1862
  height: items.length * ITEM_HEIGHT,
1866
1863
  width: '100%'
@@ -1891,7 +1888,7 @@ function UIOrder(props) {
1891
1888
  }), /*#__PURE__*/jsx(Text, {
1892
1889
  style: styles$a.itemText,
1893
1890
  children: item.label
1894
- }), /*#__PURE__*/jsx(TouchableOpacity, {
1891
+ }), scope.original.remove && /*#__PURE__*/jsx(TouchableOpacity, {
1895
1892
  onPress: function onPress() {
1896
1893
  return removeItem(item.value);
1897
1894
  },
@@ -1905,14 +1902,12 @@ function UIOrder(props) {
1905
1902
  })]
1906
1903
  }), item.value);
1907
1904
  })
1908
- })]
1905
+ })
1909
1906
  });
1910
1907
  }
1911
1908
  var styles$a = /*#__PURE__*/StyleSheet.create({
1912
1909
  container: {
1913
- flex: 1,
1914
- paddingHorizontal: 20,
1915
- backgroundColor: '#f5f7fb'
1910
+ flex: 1
1916
1911
  },
1917
1912
  title: {
1918
1913
  fontSize: 18,