iOS: whitelist a few components for testing purpose

Reviewed By: mmmulani

Differential Revision: D7999459

fbshipit-source-id: e56946931997cb51ee66020a97c60f3c85d1d348
This commit is contained in:
Kevin Gozali 2018-05-15 09:25:40 -07:00 committed by Facebook Github Bot
parent a3931e9531
commit 4a0243fcd3
1 changed files with 8 additions and 0 deletions

View File

@ -66,6 +66,14 @@ static const std::string componentNameByReactViewName(std::string viewName) {
return "View"; return "View";
} }
// Other temporary fallback until the native components are implemented.
if (
viewName == "ActivityIndicatorView" ||
viewName == "ShimmeringView"
) {
return "View";
}
return viewName; return viewName;
} }