react-native-macos/RNTester/js
simek ad2f98df8f 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: https://github.com/facebook/react-native/pull/29006

Test Plan: Go CI!

Reviewed By: cpojer

Differential Revision: D21797241

Pulled By: TheSavior

fbshipit-source-id: e66be6958a2251bc8585e87e6bad54484a067949
2020-05-29 17:36:59 -07:00
..
assets - Update folder structure of RNTester's JS directory. (#25013) 2019-05-28 08:39:18 -07:00
components Fix position of TextInlineViews when nesting multiple Text components 2020-05-14 21:42:37 -07:00
examples mark 'force' as optional property of PressEvent object (#29006) 2020-05-29 17:36:59 -07:00
types Fix warning in FlatListExample 2019-07-15 13:31:48 -07:00
utils Move CheckBox JS files to FB Internal 2020-04-09 15:35:02 -07:00
RNTesterApp.android.js Back out "Upgrade Prettier from 1.17 to 2.0.2." 2020-03-24 21:47:35 -07:00
RNTesterApp.ios.js Back out "Upgrade Prettier from 1.17 to 2.0.2." 2020-03-24 21:47:35 -07:00