From beae6d6fa09d569797631bd141dee3309543441a Mon Sep 17 00:00:00 2001 From: Valentin Shergin Date: Tue, 15 Oct 2019 07:10:10 -0700 Subject: [PATCH] Revert D17456225: [RN] RCTRefreshControl was renamed to PullToRefreshView (for Paper) Differential Revision: D17456225 Original commit changeset: a8db99ddd507 fbshipit-source-id: 3186d76de13cccc21619702a1ad07842a4788b15 --- .../RefreshControl/PullToRefreshViewNativeComponent.js | 2 +- React/Views/RCTRefreshControlManager.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/Components/RefreshControl/PullToRefreshViewNativeComponent.js b/Libraries/Components/RefreshControl/PullToRefreshViewNativeComponent.js index 8e447d5d85a..44ee3de85fd 100644 --- a/Libraries/Components/RefreshControl/PullToRefreshViewNativeComponent.js +++ b/Libraries/Components/RefreshControl/PullToRefreshViewNativeComponent.js @@ -45,5 +45,5 @@ type NativeProps = $ReadOnly<{| |}>; export default (codegenNativeComponent('PullToRefreshView', { - paperComponentNameDeprecated: 'RCTRefreshControl', + paperComponentName: 'RCTRefreshControl', }): HostComponent); diff --git a/React/Views/RCTRefreshControlManager.m b/React/Views/RCTRefreshControlManager.m index ad83b9f0817..5bfef4af842 100644 --- a/React/Views/RCTRefreshControlManager.m +++ b/React/Views/RCTRefreshControlManager.m @@ -11,7 +11,7 @@ @implementation RCTRefreshControlManager -RCT_EXPORT_MODULE(PullToRefreshView) +RCT_EXPORT_MODULE() - (UIView *)view {