Temporary render <View> for <AndroidTextInput> component

Summary: Temporary render <View> for <AndroidTextInput> component to unlock testing basic React Screens that uses TextInput

Reviewed By: sahrens

Differential Revision: D13768283

fbshipit-source-id: 9fda8c633f03ec9e88dccef3525726e1a9d60f73
This commit is contained in:
David Vacca 2019-01-23 11:27:58 -08:00 committed by Facebook Github Bot
parent 9793b05bf3
commit 5bc709d517
1 changed files with 3 additions and 3 deletions

View File

@ -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";