mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-08 12:32:58 +00:00
Update library exports
This commit is contained in:
+23
-5
@@ -17,6 +17,7 @@ import PanResponder from './apis/PanResponder'
|
|||||||
import PixelRatio from './apis/PixelRatio'
|
import PixelRatio from './apis/PixelRatio'
|
||||||
import Platform from './apis/Platform'
|
import Platform from './apis/Platform'
|
||||||
import StyleSheet from './apis/StyleSheet'
|
import StyleSheet from './apis/StyleSheet'
|
||||||
|
import UIManager from './apis/UIManager'
|
||||||
|
|
||||||
// components
|
// components
|
||||||
import ActivityIndicator from './components/ActivityIndicator'
|
import ActivityIndicator from './components/ActivityIndicator'
|
||||||
@@ -26,12 +27,22 @@ import Portal from './components/Portal'
|
|||||||
import ScrollView from './components/ScrollView'
|
import ScrollView from './components/ScrollView'
|
||||||
import Text from './components/Text'
|
import Text from './components/Text'
|
||||||
import TextInput from './components/TextInput'
|
import TextInput from './components/TextInput'
|
||||||
import Touchable from './components/Touchable'
|
import Touchable from './components/Touchable/Touchable'
|
||||||
|
import TouchableBounce from './components/Touchable/TouchableBounce'
|
||||||
|
import TouchableHighlight from './components/Touchable/TouchableHighlight'
|
||||||
|
import TouchableOpacity from './components/Touchable/TouchableOpacity'
|
||||||
|
import TouchableWithoutFeedback from './components/Touchable/TouchableWithoutFeedback'
|
||||||
import View from './components/View'
|
import View from './components/View'
|
||||||
|
|
||||||
// modules
|
// modules
|
||||||
import NativeModules from './modules/NativeModules'
|
import NativeModules from './modules/NativeModules'
|
||||||
|
|
||||||
|
// propTypes
|
||||||
|
|
||||||
|
import ColorPropType from './apis/StyleSheet/ColorPropType'
|
||||||
|
import EdgeInsetsPropType from './apis/StyleSheet/EdgeInsetsPropType'
|
||||||
|
import PointPropType from './apis/StyleSheet/PointPropType'
|
||||||
|
|
||||||
const ReactNative = {
|
const ReactNative = {
|
||||||
// apis
|
// apis
|
||||||
Animated,
|
Animated,
|
||||||
@@ -46,6 +57,7 @@ const ReactNative = {
|
|||||||
PixelRatio,
|
PixelRatio,
|
||||||
Platform,
|
Platform,
|
||||||
StyleSheet,
|
StyleSheet,
|
||||||
|
UIManager,
|
||||||
|
|
||||||
// components
|
// components
|
||||||
ActivityIndicator,
|
ActivityIndicator,
|
||||||
@@ -55,15 +67,21 @@ const ReactNative = {
|
|||||||
ScrollView,
|
ScrollView,
|
||||||
Text,
|
Text,
|
||||||
TextInput,
|
TextInput,
|
||||||
TouchableBounce: Touchable,
|
Touchable,
|
||||||
TouchableHighlight: Touchable,
|
TouchableBounce,
|
||||||
TouchableOpacity: Touchable,
|
TouchableHighlight,
|
||||||
TouchableWithoutFeedback: Touchable,
|
TouchableOpacity,
|
||||||
|
TouchableWithoutFeedback,
|
||||||
View,
|
View,
|
||||||
|
|
||||||
// modules
|
// modules
|
||||||
NativeModules,
|
NativeModules,
|
||||||
|
|
||||||
|
// propTypes
|
||||||
|
ColorPropType,
|
||||||
|
EdgeInsetsPropType,
|
||||||
|
PointPropType,
|
||||||
|
|
||||||
// React
|
// React
|
||||||
...React,
|
...React,
|
||||||
...ReactDOM,
|
...ReactDOM,
|
||||||
|
|||||||
Reference in New Issue
Block a user