react-crud-mobile 1.3.69 → 1.3.70

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.
@@ -1631,17 +1631,25 @@ function UIOrder(props) {
1631
1631
  var item = _ref.item,
1632
1632
  drag = _ref.drag,
1633
1633
  isActive = _ref.isActive;
1634
+ var state = _extends({}, scope.getStyle('row'));
1635
+ if (isActive) {
1636
+ state = _extends({}, state, scope.getStyle('active'));
1637
+ }
1634
1638
  return /*#__PURE__*/jsxRuntime.jsx(DraggableFlatList.ScaleDecorator, {
1635
- children: /*#__PURE__*/jsxRuntime.jsx(reactNative.TouchableOpacity, {
1639
+ children: /*#__PURE__*/jsxRuntime.jsxs(reactNative.TouchableOpacity, {
1636
1640
  style: [styles$a.row, {
1637
1641
  backgroundColor: isActive ? 'lightblue' : 'white'
1638
- }],
1642
+ }, _extends({}, state)],
1639
1643
  onLongPress: drag // Initiate drag on long press
1640
1644
  ,
1641
- children: /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
1645
+ children: [/*#__PURE__*/jsxRuntime.jsx(vectorIcons.MaterialCommunityIcons, {
1646
+ name: "drag",
1647
+ size: 24,
1648
+ color: "black"
1649
+ }), /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
1642
1650
  style: styles$a.text,
1643
1651
  children: scope.getItemLabel(item)
1644
- })
1652
+ })]
1645
1653
  })
1646
1654
  });
1647
1655
  };
@@ -1673,7 +1681,8 @@ var styles$a = /*#__PURE__*/reactNative.StyleSheet.create({
1673
1681
  row: {
1674
1682
  padding: 20,
1675
1683
  borderBottomWidth: 1,
1676
- borderBottomColor: '#ccc'
1684
+ borderBottomColor: '#ccc',
1685
+ borderRadius: 5
1677
1686
  },
1678
1687
  text: {
1679
1688
  fontSize: 18