mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-19 00:46:47 +08:00
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:
committed by
Facebook Github Bot
parent
0b314960aa
commit
28278e1b06
@@ -64,6 +64,10 @@ static const std::string componentNameByReactViewName(std::string viewName) {
|
||||
return "ScrollView";
|
||||
}
|
||||
|
||||
if (viewName == "RKShimmeringView") {
|
||||
return "ShimmeringView";
|
||||
}
|
||||
|
||||
if (viewName == "AndroidProgressBar") {
|
||||
return "ActivityIndicatorView";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user