Fabric: Bunch of unimplemented yet component was aliased to <View>

Summary:
@public
We need this temporary for testing until we support them all.

Reviewed By: mdvacca

Differential Revision: D8552361

fbshipit-source-id: 25f48cebcf5a665a24b92803dd7738f947ca74b2
This commit is contained in:
Valentin Shergin 2018-06-22 11:53:53 -07:00 committed by Facebook Github Bot
parent 36c052ad96
commit af75d93dad
1 changed files with 7 additions and 2 deletions

View File

@ -65,9 +65,14 @@ static const std::string componentNameByReactViewName(std::string viewName) {
} }
// We need this temporarly for testing purposes until we have proper // We need this temporarly for testing purposes until we have proper
// implementation of core components: <Image>, <ScrollContentView>. // implementation of core components: <ReactPerformanceLoggerFlag>,
// <SafeAreaView>, and etc.
if ( if (
viewName == "ImageView" || viewName == "ReactPerformanceLoggerFlag" ||
viewName == "SinglelineTextInputView" ||
viewName == "MultilineTextInputView" ||
viewName == "RefreshControl" ||
viewName == "SafeAreaView" ||
viewName == "ScrollContentView" viewName == "ScrollContentView"
) { ) {
return "View"; return "View";