Remove hack in C++ that prevents any real TextInputs from being rendered

Summary: There's an old hack in the C++ code that prevents TextInputs from being rendered by forcing them to render as Views instead. We don't need this anymore.

Reviewed By: shergin

Differential Revision: D16932795

fbshipit-source-id: 347df106f638c2bf936e2312f42bcb9310d72c6d
This commit is contained in:
Joshua Gross
2019-08-20 22:28:55 -07:00
committed by Facebook Github Bot
parent 11dc847ec9
commit 219e1972d6
@@ -103,9 +103,7 @@ static std::string componentNameByReactViewName(std::string viewName) {
// We need this temporarily for testing purposes until we have proper
// implementation of core components.
if (viewName == "SinglelineTextInputView" ||
viewName == "MultilineTextInputView" || viewName == "AndroidTextInput" ||
viewName == "SafeAreaView" || viewName == "ScrollContentView" ||
if (viewName == "SafeAreaView" || viewName == "ScrollContentView" ||
viewName == "AndroidHorizontalScrollContentView" // Android
) {
return "View";