mirror of
https://github.com/status-im/react-native.git
synced 2025-01-11 01:56:26 +00:00
e6ef035887
Summary: <!-- Thank you for sending the PR! We appreciate you spending the time to work on these changes. Help us understand your motivation by explaining why you decided to make this change. You can learn more about contributing to React Native here: http://facebook.github.io/react-native/docs/contributing.html Happy contributing! --> I was quite lost when the documentation told me to go figure the event mapping out myself. It took me quite a while to figure out that i needed to register the names in the `ViewManager`. This code snippet just makes it way easier to figure out what you need to do to add events. Closes https://github.com/facebook/react-native/pull/16293 Differential Revision: D6060595 Pulled By: ericnakagawa fbshipit-source-id: c4755cdb8d99797ff5248ec4eb7e58e2f7ac2588