File tree 3 files changed +3
-261
lines changed 3 files changed +3
-261
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11
11
'use strict' ;
12
12
13
13
import type { PressEvent } from '../Types/CoreEventTypes' ;
14
- import type { PanResponderType } from './PanResponder.flow.js' ;
15
14
16
15
const InteractionManager = require ( './InteractionManager' ) ;
17
16
const TouchHistoryMath = require ( './TouchHistoryMath' ) ;
@@ -227,7 +226,7 @@ type PanResponderConfig = $ReadOnly<{|
227
226
onShouldBlockNativeResponder ?: ?ActiveCallback ,
228
227
| } > ;
229
228
230
- const PanResponder : PanResponderType = {
229
+ const PanResponder = {
231
230
/**
232
231
*
233
232
* A graphical explanation of the touch data flow:
@@ -580,4 +579,4 @@ export type PanResponderInstance = $Call<
580
579
PanResponderConfig ,
581
580
> ;
582
581
583
- module . exports = PanResponder ;
582
+ export default PanResponder ;
Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ module.exports = {
285
285
return require ( './Libraries/Network/RCTNetworking' ) . default ;
286
286
} ,
287
287
get PanResponder ( ) : PanResponder {
288
- return require ( './Libraries/Interaction/PanResponder' ) ;
288
+ return require ( './Libraries/Interaction/PanResponder' ) . default ;
289
289
} ,
290
290
get PermissionsAndroid ( ) : PermissionsAndroid {
291
291
return require ( './Libraries/PermissionsAndroid/PermissionsAndroid' ) ;
You can’t perform that action at this time.
0 commit comments