[fix] ReactNative export pattern

This commit is contained in:
Nicolas Gallagher
2015-12-19 10:49:49 -08:00
parent 8a5f9cd7d9
commit 1c9270c4ea

View File

@@ -11,11 +11,7 @@ import TextInput from './components/TextInput'
import Touchable from './components/Touchable'
import View from './components/View'
export default React
export {
StyleSheet,
const ReactNative = {
// components
Image,
ListView,
@@ -23,5 +19,13 @@ export {
Text,
TextInput,
Touchable,
View
View,
// apis
StyleSheet,
// React
...React
}
module.exports = ReactNative