diff --git a/Libraries/Components/Pressable/Pressable.js b/Libraries/Components/Pressable/Pressable.js index 963933d13ca..e86140b60f5 100644 --- a/Libraries/Components/Pressable/Pressable.js +++ b/Libraries/Components/Pressable/Pressable.js @@ -78,7 +78,7 @@ type Props = $ReadOnly<{| * Additional distance outside of this view in which a touch is considered a * press before `onPressOut` is triggered. */ - pressRectOffset?: ?RectOrSize, + pressRetentionOffset?: ?RectOrSize, /** * Called when this view's layout changes. @@ -149,7 +149,7 @@ function Pressable(props: Props, forwardedRef): React.Node { onPress, onPressIn, onPressOut, - pressRectOffset, + pressRetentionOffset, style, testOnly_pressed, ...restProps @@ -168,7 +168,7 @@ function Pressable(props: Props, forwardedRef): React.Node { () => ({ disabled, hitSlop, - pressRectOffset, + pressRectOffset: pressRetentionOffset, android_disableSound, delayLongPress, onLongPress, @@ -203,7 +203,7 @@ function Pressable(props: Props, forwardedRef): React.Node { onPress, onPressIn, onPressOut, - pressRectOffset, + pressRetentionOffset, setPressed, ], );