-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect touchable hitSlop and pressRetentionOffset type (#36065)
Summary: Incorrect TS type disallows use of `hitSlop={number}`. Fixed by using Pressable's hitSlop type. NOTE: I did not bother to change Flow types in the `.js` file, please add a commit doing that if required. ## Changelog [GENERAL] [FIXED] - Fix touchable hitSlop type Pull Request resolved: #36065 Test Plan: None needed Reviewed By: christophpurrer Differential Revision: D43117689 Pulled By: javache fbshipit-source-id: 96e5ae650f47382c8d7fa1ddf63c76461c65dcc7
- Loading branch information
1 parent
6d1667c
commit 23607ae
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters