File tree Expand file tree Collapse file tree
packages/react-native/Libraries/Components/Pressable Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -334,6 +334,7 @@ function Pressable({
334334 const eventHandlers = usePressability ( config ) ;
335335
336336 return (
337+ // $FlowFixMe[incompatible-type] blockNativeResponder is an internal prop, intentionally absent from public ViewProps
337338 < View
338339 { ...restPropsWithDefaults }
339340 { ...eventHandlers }
@@ -343,7 +344,6 @@ function Pressable({
343344 // Must be false when disabled so touches reach native ancestors. Cannot
344345 // guard this on the native side via _isJSResponder — it's set async and
345346 // races with touchesBegan on fast taps.
346- // $FlowFixMe[incompatible-type] internal prop, intentionally absent from public ViewProps
347347 blockNativeResponder = { disabled !== true && blockNativeResponder } >
348348 { typeof children === 'function' ? children ( { pressed} ) : children }
349349 { __DEV__ ? < PressabilityDebugView color = "red" hitSlop = { hitSlop } /> : null }
You can’t perform that action at this time.
0 commit comments