@heap/react-native-heap
Version:
React Native event tracking with Heap.
13 lines (11 loc) • 380 B
JavaScript
;
var TouchableOpacity = {
displayName: 'TouchableOpacity',
mixins: [TimerMixin, Touchable.Mixin, NativeMethodsMixin],
touchableHandlePress: function touchableHandlePress(e) {
this.props.onPress && this.props.onPress(e);
},
touchableHandleLongPress: function touchableHandleLongPress(e) {
this.props.onLongPress && this.props.onLongPress(e);
}
};