Files
react-native-web/src/index.js
T
2017-06-18 15:27:24 -07:00

131 lines
1.8 KiB
JavaScript

import {
// top-level API
findNodeHandle,
render,
unmountComponentAtNode,
// modules
createDOMElement,
NativeModules,
processColor,
// APIs
Animated,
AppRegistry,
AppState,
AsyncStorage,
BackAndroid,
Clipboard,
Dimensions,
Easing,
I18nManager,
InteractionManager,
Linking,
NetInfo,
PanResponder,
PixelRatio,
Platform,
StyleSheet,
UIManager,
Vibration,
// components
ActivityIndicator,
Button,
FlatList,
Image,
ListView,
Modal,
Picker,
ProgressBar,
RefreshControl,
ScrollView,
SectionList,
Slider,
StatusBar,
Switch,
Text,
TextInput,
Touchable,
TouchableHighlight,
TouchableNativeFeedback,
TouchableOpacity,
TouchableWithoutFeedback,
View,
VirtualizedList,
// propTypes
ColorPropType,
EdgeInsetsPropType,
PointPropType,
TextPropTypes,
ViewPropTypes
} from './module';
const ReactNative = {
// top-level API
findNodeHandle,
render,
unmountComponentAtNode,
// modules
createDOMElement,
NativeModules,
processColor,
// APIs
Animated,
AppRegistry,
AppState,
AsyncStorage,
BackAndroid,
BackHandler: BackAndroid,
Clipboard,
Dimensions,
Easing,
I18nManager,
InteractionManager,
Linking,
NetInfo,
PanResponder,
PixelRatio,
Platform,
StyleSheet,
UIManager,
Vibration,
// components
ActivityIndicator,
Button,
FlatList,
Image,
ListView,
Modal,
Picker,
ProgressBar,
RefreshControl,
ScrollView,
SectionList,
Slider,
StatusBar,
Switch,
Text,
TextInput,
Touchable,
TouchableHighlight,
TouchableNativeFeedback,
TouchableOpacity,
TouchableWithoutFeedback,
View,
VirtualizedList,
// propTypes
ColorPropType,
EdgeInsetsPropType,
PointPropType,
TextPropTypes,
ViewPropTypes
};
module.exports = ReactNative;