Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set isPressable for onPressIn/Out (#34944)
Summary: Pull Request resolved: #34944 In react-native-windows, the ability to detect a press event on a virtual span is dependent on setting a native only `isPressable` prop. This modifies the Text component to include `onPressIn` and `onPressOut`. As a side-effect, this will also lazily initialize the pressability config when `onPressIn` or `onPressOut` only is set. Changelog: [General][Fixed] - Pressability for text with only `onPressIn` / `onPressOut` props Reviewed By: yungsters Differential Revision: D40264432 fbshipit-source-id: 583b210127d8f020ad98030d4a5381c302e88d2a
- Loading branch information