react-crud-mobile 1.3.151 → 1.3.153

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.
@@ -1346,7 +1346,7 @@ function UIModal(_ref) {
1346
1346
  var _useState2 = useState(0),
1347
1347
  index = _useState2[0],
1348
1348
  setIndex = _useState2[1];
1349
- //v8
1349
+ //v1
1350
1350
  var label = scope.getLabel();
1351
1351
  var theme = scope.getTheme();
1352
1352
  var headerStyle = Utils.nvl((_theme$styles = theme.styles) == null || (_theme$styles = _theme$styles.defaults) == null ? void 0 : _theme$styles.header, {});
@@ -1695,11 +1695,15 @@ function UIOrder(props) {
1695
1695
  children: children
1696
1696
  });
1697
1697
  };
1698
- return /*#__PURE__*/jsxs(OrderView, {
1699
- children: [/*#__PURE__*/jsx(UIHeader, {
1700
- scope: scope
1701
- }), /*#__PURE__*/jsx(DraggableFlatList, {
1698
+ return /*#__PURE__*/jsx(OrderView, {
1699
+ children: /*#__PURE__*/jsx(DraggableFlatList, {
1702
1700
  data: data,
1701
+ ListHeaderComponent: /*#__PURE__*/jsx(UIHeader, {
1702
+ scope: scope
1703
+ }),
1704
+ ListFooterComponent: /*#__PURE__*/jsx(Fragment, {
1705
+ children: scope.getPart('footer')
1706
+ }),
1703
1707
  renderItem: renderItem,
1704
1708
  keyExtractor: function keyExtractor(item) {
1705
1709
  var key = scope.getItemValue(item);
@@ -1713,7 +1717,7 @@ function UIOrder(props) {
1713
1717
  setData(data);
1714
1718
  scope.changeValue(data);
1715
1719
  }
1716
- })]
1720
+ })
1717
1721
  });
1718
1722
  }
1719
1723
  var styles$a = /*#__PURE__*/StyleSheet.create({