Skip to content

Commit 8e43678

Browse files
authored
fix(js): add missing onStartShouldSetResponder function (#342)
1 parent 55be933 commit 8e43678

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/types.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,15 @@ export interface PagerViewProps {
104104
event: ReactNative.GestureResponderEvent
105105
) => boolean;
106106

107+
/**
108+
* Does this view want to become responder on the start of a touch?
109+
*
110+
* See https://reactnative.dev/docs/view#onstartshouldsetrespondercapture
111+
*/
112+
onStartShouldSetResponder?: (
113+
event: ReactNative.GestureResponderEvent
114+
) => boolean;
115+
107116
/**
108117
* iOS only
109118
*/

0 commit comments

Comments
 (0)