Skip to content

Commit

Permalink
[ReactNative] Sort React Native exports into two groups, Components a…
Browse files Browse the repository at this point in the history
…nd ...

Summary:
...APIs

This maps the way the docs are structured, this is easier to figure out when the docs are stale
Closes facebook#161
Github Author: Christopher Chedeau <vjeux@fb.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
  • Loading branch information
vjeux authored and oss sync committed Apr 12, 2015
1 parent 16d8dc3 commit d33d336
Showing 1 changed file with 21 additions and 15 deletions.
36 changes: 21 additions & 15 deletions Libraries/react-native/react-native.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,40 +7,46 @@

var ReactNative = {
...require('React'),

// Components
ActivityIndicatorIOS: require('ActivityIndicatorIOS'),
AlertIOS: require('AlertIOS'),
Animation: require('Animation'),
AppRegistry: require('AppRegistry'),
AppState: require('AppState'),
AppStateIOS: require('AppStateIOS'),
AsyncStorage: require('AsyncStorage'),
CameraRoll: require('CameraRoll'),
DatePickerIOS: require('DatePickerIOS'),
ExpandingText: require('ExpandingText'),
Image: require('Image'),
InteractionManager: require('InteractionManager'),
LayoutAnimation: require('LayoutAnimation'),
ListView: require('ListView'),
ListViewDataSource: require('ListViewDataSource'),
MapView: require('MapView'),
NavigatorIOS: require('NavigatorIOS'),
NetInfo: require('NetInfo'),
PickerIOS: require('PickerIOS'),
PixelRatio: require('PixelRatio'),
ScrollView: require('ScrollView'),
SliderIOS: require('SliderIOS'),
StatusBarIOS: require('StatusBarIOS'),
StyleSheet: require('StyleSheet'),
SwitchIOS: require('SwitchIOS'),
TabBarIOS: require('TabBarIOS'),
Text: require('Text'),
TextInput: require('TextInput'),
TimerMixin: require('TimerMixin'),
TouchableHighlight: require('TouchableHighlight'),
TouchableOpacity: require('TouchableOpacity'),
TouchableWithoutFeedback: require('TouchableWithoutFeedback'),
VibrationIOS: require('VibrationIOS'),
View: require('View'),
WebView: require('WebView'),

// APIs
AlertIOS: require('AlertIOS'),
Animation: require('Animation'),
AppRegistry: require('AppRegistry'),
AppState: require('AppState'),
AppStateIOS: require('AppStateIOS'),
AsyncStorage: require('AsyncStorage'),
CameraRoll: require('CameraRoll'),
InteractionManager: require('InteractionManager'),
LayoutAnimation: require('LayoutAnimation'),
NetInfo: require('NetInfo'),
PixelRatio: require('PixelRatio'),
StatusBarIOS: require('StatusBarIOS'),
StyleSheet: require('StyleSheet'),
TimerMixin: require('TimerMixin'),
VibrationIOS: require('VibrationIOS'),

invariant: require('invariant'),
ix: require('ix'),
};
Expand Down

0 comments on commit d33d336

Please sign in to comment.