Files
react-native/packages/react-native
Eric RozellandFacebook GitHub Bot 6e3e6b574f Create option for out-of-tree platforms to customize ViewEventEmitter (#38582)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/38582

Some out of tree platforms may have extra events (e.g., events for different input modalities) that don't exist on other platforms.

For example, react-native-windows and react-native-macos have `onKeyUp` and `onKeyDown` that can be emitted from any native component.

This change provides a hook for out of platforms to customize which events can be emitted from all native components.

## Changelog:
[General] [Added] - Support additional View events in out of tree platform Fabric implementations

Reviewed By: christophpurrer

Differential Revision: D47721603

fbshipit-source-id: 5ae2ff0f6c1b1dfd72b0a310c1309a85e6b170b1
2023-07-31 11:38:36 -07:00
..
2023-07-26 11:02:05 -07:00