mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix RCTRefreshControl component name in Fabric
Summary: Map `RCTRefreshControl` to `PullToRefreshView` when retrieving component descriptor from registry. Reviewed By: shergin Differential Revision: D17665287 fbshipit-source-id: 7dc038e8cd8e8078714daa8163327abd8e95b886
This commit is contained in:
committed by
Facebook Github Bot
parent
d0324f693c
commit
9e4266e9d0
@@ -101,6 +101,10 @@ static std::string componentNameByReactViewName(std::string viewName) {
|
||||
return "ShimmeringView";
|
||||
}
|
||||
|
||||
if (viewName == "RefreshControl") {
|
||||
return "PullToRefreshView";
|
||||
}
|
||||
|
||||
if (viewName == "AndroidProgressBar") {
|
||||
return "ActivityIndicatorView";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user