Преглед изворни кода

Cambiar nombres de botones y verificar si se puede push

Carla Ramos пре 2 година
родитељ
комит
60d7806f36
4 измењених фајлова са 6 додато и 5 уклоњено
  1. BIN
      AmelieLeyendo.jpeg
  2. 3
    2
      App.js
  3. 1
    1
      package.json
  4. 2
    2
      yarn.lock

BIN
AmelieLeyendo.jpeg Прегледај датотеку


+ 3
- 2
App.js Прегледај датотеку

@@ -5,6 +5,7 @@ import data from './transfer.json'
5 5
 
6 6
 
7 7
 
8
+
8 9
 //change this to an external css file later
9 10
 const styles = StyleSheet.create({
10 11
 	
@@ -99,13 +100,13 @@ setData = () => this.setState({ current: states.dataView })
99 100
 		<View style = {styles.buttons}>
100 101
 			  <Button
101 102
 				 onPress = {this.setHome}
102
-				 title = "Button1"
103
+				 title = "Noticias"
103 104
 				 color = "blue"
104 105
 			  />
105 106
 			  
106 107
 			  <Button
107 108
 				 onPress = {this.setData}
108
-				 title = "Button2"
109
+				 title = "Datos"
109 110
 				 color = "black"
110 111
 			  />
111 112
 		  </View>

+ 1
- 1
package.json Прегледај датотеку

@@ -10,7 +10,7 @@
10 10
   },
11 11
   "dependencies": {
12 12
     "@expo/webpack-config": "^0.17.2",
13
-    "expo": "~47.0.6",
13
+    "expo": "^47.0.6",
14 14
     "expo-font": "~11.0.1",
15 15
     "expo-splash-screen": "~0.17.5",
16 16
     "expo-status-bar": "~1.4.2",

+ 2
- 2
yarn.lock Прегледај датотеку

@@ -4450,9 +4450,9 @@ expo-status-bar@~1.4.2:
4450 4450
   resolved "https://registry.npmjs.org/expo-status-bar/-/expo-status-bar-1.4.2.tgz"
4451 4451
   integrity sha512-ZWjO6D4ARGYfAd3SWDD3STNudHDhyBZDZjhhseqoEmsf7bS9ykny8KKOhlzJW24qIQNPhkgdvHhaw9fQwMJy3Q==
4452 4452
 
4453
-expo@~47.0.6:
4453
+expo@^47.0.6:
4454 4454
   version "47.0.6"
4455
-  resolved "https://registry.npmjs.org/expo/-/expo-47.0.6.tgz"
4455
+  resolved "https://registry.yarnpkg.com/expo/-/expo-47.0.6.tgz#4436bf0f667b6282f9189e987ddf67cd64807140"
4456 4456
   integrity sha512-XFcTnkOWEbc5mbrpdgIkPq3Heuem+8OErdjnWshwiDtaCdqK0EKToJtE2ufhCxb/RzfeJ5k07mpk+8CRRayi4w==
4457 4457
   dependencies:
4458 4458
     "@babel/runtime" "^7.14.0"