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:
Samuel Susla
2019-09-30 12:38:02 -07:00
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";
}