mirror of
https://github.com/bobwen-dev/react-templates
synced 2025-04-12 00:56:39 +02:00
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…
x
Reference in New Issue
Block a user