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 {