fixed #116
This commit is contained in:
parent
e56cd6d06a
commit
6353e88bdb
|
@ -90,7 +90,7 @@ function reactImport(options) {
|
|||
if (options.native) {
|
||||
return 'react-native';
|
||||
}
|
||||
if (options.targetVersion === '0.14.0') {
|
||||
if (options.targetVersion === '0.14.0' || options.targetVersion === '0.15.0') {
|
||||
return 'react';
|
||||
}
|
||||
return 'react/addons';
|
||||
|
|
Loading…
Reference in New Issue