mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-08-15 18:45:06 +00:00
Makes `onClick` part of the stable props API. In the future this will be used to implement `onPress` in the Touchables/Pressables. Special handling of click for keyboards is performed in `createElement`. At the moment, `Text` still includes the `onPress` prop, which will only be called if `onClick` is not also being used. In the future `Text` (in React Native) should remove the Touchable props from its API.