From ae6132af56303b4dad51cb7d2046c0a5100f46f5 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Tue, 15 Mar 2016 14:19:29 -0700 Subject: [PATCH] Update library exports --- src/index.js | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/src/index.js b/src/index.js index 250e5bc2..3d883619 100644 --- a/src/index.js +++ b/src/index.js @@ -17,6 +17,7 @@ import PanResponder from './apis/PanResponder' import PixelRatio from './apis/PixelRatio' import Platform from './apis/Platform' import StyleSheet from './apis/StyleSheet' +import UIManager from './apis/UIManager' // components import ActivityIndicator from './components/ActivityIndicator' @@ -26,12 +27,22 @@ import Portal from './components/Portal' import ScrollView from './components/ScrollView' import Text from './components/Text' 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' // modules 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 = { // apis Animated, @@ -46,6 +57,7 @@ const ReactNative = { PixelRatio, Platform, StyleSheet, + UIManager, // components ActivityIndicator, @@ -55,15 +67,21 @@ const ReactNative = { ScrollView, Text, TextInput, - TouchableBounce: Touchable, - TouchableHighlight: Touchable, - TouchableOpacity: Touchable, - TouchableWithoutFeedback: Touchable, + Touchable, + TouchableBounce, + TouchableHighlight, + TouchableOpacity, + TouchableWithoutFeedback, View, // modules NativeModules, + // propTypes + ColorPropType, + EdgeInsetsPropType, + PointPropType, + // React ...React, ...ReactDOM,