react-native-macos/Libraries/Pressability
Eli White 9cc920be2f Pressability: Support Rect or Numeric Size
Summary:
Introduces `Rect`, an (eventual) replacement for `EdgeInsetsProp`.

This new type is then used in `Pressability` to expand support such that `hitSlop` and `pressRectOffset` can be either a `Rect` or a numeric size.

Changelog:
[Internal]

Reviewed By: yungsters

Differential Revision: D18742616

fbshipit-source-id: 13dd360f68ab804839938fc950fa2f4b25d3ed8c
2020-01-28 15:14:23 -08:00
..
__tests__ Pressability: Explicitly Commit Configurations 2019-12-15 22:07:47 -08:00
HoverState.js Core files should depend on internals directly 2019-12-05 13:33:58 -08:00
Pressability.js Pressability: Support Rect or Numeric Size 2020-01-28 15:14:23 -08:00
PressabilityDebug.js Core files should depend on internals directly 2019-12-05 13:33:58 -08:00
usePressability.js Pressability: Create `usePressability` Hook 2020-01-28 15:14:23 -08:00