From 5bc709d517e9888c1f9c716fd5a88a2fd07bbfb7 Mon Sep 17 00:00:00 2001 From: David Vacca Date: Wed, 23 Jan 2019 11:27:58 -0800 Subject: [PATCH] Temporary render for component Summary: Temporary render for component to unlock testing basic React Screens that uses TextInput Reviewed By: sahrens Differential Revision: D13768283 fbshipit-source-id: 9fda8c633f03ec9e88dccef3525726e1a9d60f73 --- .../fabric/uimanager/ComponentDescriptorRegistry.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ReactCommon/fabric/uimanager/ComponentDescriptorRegistry.cpp b/ReactCommon/fabric/uimanager/ComponentDescriptorRegistry.cpp index b72d5d13a..e7e33bd81 100644 --- a/ReactCommon/fabric/uimanager/ComponentDescriptorRegistry.cpp +++ b/ReactCommon/fabric/uimanager/ComponentDescriptorRegistry.cpp @@ -75,9 +75,9 @@ static const std::string componentNameByReactViewName(std::string viewName) { // We need this temporarly for testing purposes until we have proper // implementation of core components. if (viewName == "SinglelineTextInputView" || - viewName == "MultilineTextInputView" || viewName == "RefreshControl" || - viewName == "AndroidSwipeRefreshLayout" || viewName == "SafeAreaView" || - viewName == "ScrollContentView" || + viewName == "MultilineTextInputView" || viewName == "AndroidTextInput" || + viewName == "RefreshControl" || viewName == "AndroidSwipeRefreshLayout" || + viewName == "SafeAreaView" || viewName == "ScrollContentView" || viewName == "AndroidHorizontalScrollContentView" // Android ) { return "View";