Kaynağa Gözat

update js in example-redux to support the RN 25.1 upgrade

Artal Druk 8 yıl önce
ebeveyn
işleme
c67d3f9c6a

+ 1
- 1
example-redux/package.json Dosyayı Görüntüle

@@ -9,7 +9,7 @@
9 9
     "_fix_npm2_step2": "cd node_modules; find . -name .babelrc | grep -v packager | xargs rm"
10 10
   },
11 11
   "dependencies": {
12
-    "react-native": "^0.25.1",
12
+    "react-native": "0.25.1",
13 13
     "react": "0.14.5",
14 14
     "fbjs": "^0.6.1",
15 15
     "react-redux": "^4.0.6",

+ 2
- 2
example-redux/src/components/ExampleComponent.js Dosyayı Görüntüle

@@ -1,5 +1,5 @@
1
-import React, {
2
-  Component,
1
+import React, {Component} from 'react';
2
+import {
3 3
   Text
4 4
 } from 'react-native';
5 5
 

+ 2
- 2
example-redux/src/screens/FirstTabScreen.js Dosyayı Görüntüle

@@ -1,5 +1,5 @@
1
-import React, {
2
-  Component,
1
+import React, {Component} from 'react';
2
+import {
3 3
   Text,
4 4
   View,
5 5
   ScrollView,

+ 2
- 2
example-redux/src/screens/LoginScreen.js Dosyayı Görüntüle

@@ -1,5 +1,5 @@
1
-import React, {
2
-  Component,
1
+import React, {Component} from 'react';
2
+import {
3 3
   Text,
4 4
   View,
5 5
   ScrollView,

+ 2
- 2
example-redux/src/screens/PushedScreen.js Dosyayı Görüntüle

@@ -1,5 +1,5 @@
1
-import React, {
2
-  Component,
1
+import React, {Component} from 'react';
2
+import {
3 3
   Text,
4 4
   View,
5 5
   ScrollView,

+ 2
- 2
example-redux/src/screens/SecondTabScreen.js Dosyayı Görüntüle

@@ -1,5 +1,5 @@
1
-import React, {
2
-  Component,
1
+import React, {Component} from 'react';
2
+import {
3 3
   Text,
4 4
   Image,
5 5
   View,