mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
c5cc27f1e9
Summary: Currently, the same ComponentDescriptor class cannot be registered as a responder for components with different names. However, we have marginal cases where we really need it. The examples are `UnimplementedView` or possible universal interop with the classic RN or any other UI framework. This change adds a special optional argument to ComponentDescript constructor that allows implementing this functionality. Reviewed By: fkgozali Differential Revision: D17211915 fbshipit-source-id: 18f59e09fe06b875a8e8975b7b2ab423489238bb