mirror of
https://github.com/status-im/react-native.git
synced 2025-02-07 15:13:58 +00:00
Summary: This makes the Text component more consistent with the contracts implemented by the Touchable* components. **Test plan (required)** Verified the event object gets passed to the `onPress` and `onLongPress` handlers in a test app. Also, this change is being used by my team's app. Adam Comella Microsoft Corp. Closes https://github.com/facebook/react-native/pull/9657 Differential Revision: D3790550 fbshipit-source-id: 026b579ef6b354d9519abd5e9a92f0d562159132