@momo-kits/swipe 0.0.49-beta → 0.0.49-beta.2

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.
@@ -66,6 +66,8 @@ class SwipeActionList extends Component {
66
66
  onPress,
67
67
  onClose,
68
68
  actionBackground,
69
+ swipeGestureBegan,
70
+ swipeGestureEnd,
69
71
  } = this.props;
70
72
  return (
71
73
  <View>
@@ -86,6 +88,8 @@ class SwipeActionList extends Component {
86
88
  rowIndex={index}
87
89
  renderLeftAction={renderLeftAction}
88
90
  renderRightAction={renderRightAction}
91
+ swipeGestureBegan={swipeGestureBegan}
92
+ swipeGestureEnd={swipeGestureEnd}
89
93
  >
90
94
  {renderItem?.(item, index)}
91
95
  </SwipeAction>
@@ -127,7 +131,9 @@ SwipeActionList.propTypes = {
127
131
  onOpen: PropTypes.func,
128
132
  onClose: PropTypes.func,
129
133
  onPress: PropTypes.func,
130
- actionBackground: PropTypes.string
134
+ actionBackground: PropTypes.string,
135
+ swipeGestureBegan: PropTypes.func,
136
+ swipeGestureEnd: PropTypes.func,
131
137
  };
132
138
 
133
139
  SwipeActionList.defaultProps = {