mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
iOS: whitelist a few components for testing purpose
Reviewed By: mmmulani Differential Revision: D7999459 fbshipit-source-id: e56946931997cb51ee66020a97c60f3c85d1d348
This commit is contained in:
committed by
Facebook Github Bot
parent
a3931e9531
commit
4a0243fcd3
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user