Fix Shimmer in Fabric Android

Summary: ShimmeringView is called: RTShimmeringView Android and ShimmeringView in iOS. This diff adds a mapping into ComponentDescriptorRegistry to temporary enable ShimmeringView component until we can unify names in JS.

Reviewed By: sahrens

Differential Revision: D12991351

fbshipit-source-id: 48e08b8021116221ccfd5f2512c76f65145baa2a
This commit is contained in:
David Vacca
2018-11-09 10:36:29 -08:00
committed by Facebook Github Bot
parent 0b314960aa
commit 28278e1b06

View File

@@ -64,6 +64,10 @@ static const std::string componentNameByReactViewName(std::string viewName) {
return "ScrollView";
}
if (viewName == "RKShimmeringView") {
return "ShimmeringView";
}
if (viewName == "AndroidProgressBar") {
return "ActivityIndicatorView";
}