[change] separate the React and React Native APIs

Fix #136
This commit is contained in:
Nicolas Gallagher
2016-06-14 13:43:31 -07:00
parent a3b59ed2b4
commit f2ea7c089c
17 changed files with 38 additions and 61 deletions
+3 -2
View File
@@ -16,7 +16,8 @@
*/
'use strict';
var React = require('react-native');
var React = require('react');
var ReactNative = require('react-native');
var {
Animated,
AppRegistry,
@@ -24,7 +25,7 @@ var {
Text,
TouchableBounce,
View,
} = React;
} = ReactNative;
var GameBoard = require('./GameBoard');