mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-27 08:13:46 +00:00
131 lines
1.8 KiB
JavaScript
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;
|