diff --git a/Libraries/Components/ScrollView/ScrollView.js b/Libraries/Components/ScrollView/ScrollView.js index b40f0285d..aef48e3e1 100644 --- a/Libraries/Components/ScrollView/ScrollView.js +++ b/Libraries/Components/ScrollView/ScrollView.js @@ -47,10 +47,10 @@ let RCTScrollContentView; if (Platform.OS === 'android') { AndroidScrollView = requireNativeComponent('RCTScrollView'); AndroidHorizontalScrollView = requireNativeComponent( - 'RCTAndroidHorizontalScrollView', + 'AndroidHorizontalScrollView', ); AndroidHorizontalScrollContentView = requireNativeComponent( - 'RCTAndroidHorizontalScrollContentView', + 'AndroidHorizontalScrollContentView', ); } else if (Platform.OS === 'ios') { RCTScrollView = requireNativeComponent('RCTScrollView'); diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollContainerViewManager.java b/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollContainerViewManager.java index 894e8286c..284f41451 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollContainerViewManager.java +++ b/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollContainerViewManager.java @@ -14,7 +14,7 @@ import com.facebook.react.uimanager.ViewGroupManager; public class ReactHorizontalScrollContainerViewManager extends ViewGroupManager { - protected static final String REACT_CLASS = "RCTAndroidHorizontalScrollContentView"; + protected static final String REACT_CLASS = "AndroidHorizontalScrollContentView"; public ReactHorizontalScrollContainerViewManager() {} diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollViewManager.java b/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollViewManager.java index 29e11e534..e6536a6e5 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollViewManager.java +++ b/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollViewManager.java @@ -37,7 +37,7 @@ public class ReactHorizontalScrollViewManager extends ViewGroupManager implements ReactScrollViewCommandHelper.ScrollCommandHandler { - protected static final String REACT_CLASS = "RCTAndroidHorizontalScrollView"; + protected static final String REACT_CLASS = "AndroidHorizontalScrollView"; private static final int[] SPACING_TYPES = { Spacing.ALL, Spacing.LEFT, Spacing.RIGHT, Spacing.TOP, Spacing.BOTTOM,