[ReactNative] cleanup some requireNativeComponent cruft

This commit is contained in:
Spencer Ahrens
2015-04-17 15:37:07 -07:00
parent aaaa9a98ef
commit 65b6d209d9
3 changed files with 3 additions and 56 deletions

View File

@@ -371,10 +371,6 @@ if (Platform.OS === 'android') {
uiViewClassName: 'AndroidHorizontalScrollView',
});
} else if (Platform.OS === 'ios') {
var RCTScrollView = createReactIOSNativeComponentClass({
validAttributes: validAttributes,
uiViewClassName: 'RCTScrollView',
});
var RCTScrollView = requireNativeComponent('RCTScrollView', ScrollView);
}