Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mark 'force' as optional property of PressEvent object (#29006)
Summary: Refs: * https://github.com/facebook/react-native/blob/master/React/Fabric/RCTSurfaceTouchHandler.mm#L93 * https://github.com/facebook/react-native/blob/master/RNTester/js/examples/Pressable/PressableExample.js#L25 According to the current implementation `force` will be returned only on `iOS` platform, only on the devices which have a hardware 3D touch capabilities. ## Changelog <!-- Help reviewers and the release process by writing your own changelog entry. For an example, see: https://github.com/facebook/react-native/wiki/Changelog --> [General] [Fixed] - mark `force` as an optional property of the PressEvent object Pull Request resolved: #29006 Test Plan: Go CI! Reviewed By: cpojer Differential Revision: D21797241 Pulled By: TheSavior fbshipit-source-id: e66be6958a2251bc8585e87e6bad54484a067949
- Loading branch information