Skip to content

Commit 07d001f

Browse files
committed
fix flow typecheck
1 parent b208056 commit 07d001f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/react-native/Libraries/Components/Pressable

packages/react-native/Libraries/Components/Pressable/Pressable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ function Pressable({
343343
// Must be false when disabled so touches reach native ancestors. Cannot
344344
// guard this on the native side via _isJSResponder — it's set async and
345345
// races with touchesBegan on fast taps.
346-
// $FlowFixMe[prop-missing] internal prop, intentionally absent from public ViewProps
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}

0 commit comments

Comments
 (0)