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 коммит произвёл Facebook Github Bot
Родитель a3931e9531
Коммит 4a0243fcd3
1 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

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