Browse Source

Cambiar nombres de botones y verificar si se puede push

Carla Ramos 1 year ago
parent
commit
60d7806f36
4 changed files with 6 additions and 5 deletions
  1. BIN
      AmelieLeyendo.jpeg
  2. 3
    2
      App.js
  3. 1
    1
      package.json
  4. 2
    2
      yarn.lock

BIN
AmelieLeyendo.jpeg View File


+ 3
- 2
App.js View File

5
 
5
 
6
 
6
 
7
 
7
 
8
+
8
 //change this to an external css file later
9
 //change this to an external css file later
9
 const styles = StyleSheet.create({
10
 const styles = StyleSheet.create({
10
 	
11
 	
99
 		<View style = {styles.buttons}>
100
 		<View style = {styles.buttons}>
100
 			  <Button
101
 			  <Button
101
 				 onPress = {this.setHome}
102
 				 onPress = {this.setHome}
102
-				 title = "Button1"
103
+				 title = "Noticias"
103
 				 color = "blue"
104
 				 color = "blue"
104
 			  />
105
 			  />
105
 			  
106
 			  
106
 			  <Button
107
 			  <Button
107
 				 onPress = {this.setData}
108
 				 onPress = {this.setData}
108
-				 title = "Button2"
109
+				 title = "Datos"
109
 				 color = "black"
110
 				 color = "black"
110
 			  />
111
 			  />
111
 		  </View>
112
 		  </View>

+ 1
- 1
package.json View File

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

+ 2
- 2
yarn.lock View File

4450
   resolved "https://registry.npmjs.org/expo-status-bar/-/expo-status-bar-1.4.2.tgz"
4450
   resolved "https://registry.npmjs.org/expo-status-bar/-/expo-status-bar-1.4.2.tgz"
4451
   integrity sha512-ZWjO6D4ARGYfAd3SWDD3STNudHDhyBZDZjhhseqoEmsf7bS9ykny8KKOhlzJW24qIQNPhkgdvHhaw9fQwMJy3Q==
4451
   integrity sha512-ZWjO6D4ARGYfAd3SWDD3STNudHDhyBZDZjhhseqoEmsf7bS9ykny8KKOhlzJW24qIQNPhkgdvHhaw9fQwMJy3Q==
4452
 
4452
 
4453
-expo@~47.0.6:
4453
+expo@^47.0.6:
4454
   version "47.0.6"
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
   integrity sha512-XFcTnkOWEbc5mbrpdgIkPq3Heuem+8OErdjnWshwiDtaCdqK0EKToJtE2ufhCxb/RzfeJ5k07mpk+8CRRayi4w==
4456
   integrity sha512-XFcTnkOWEbc5mbrpdgIkPq3Heuem+8OErdjnWshwiDtaCdqK0EKToJtE2ufhCxb/RzfeJ5k07mpk+8CRRayi4w==
4457
   dependencies:
4457
   dependencies:
4458
     "@babel/runtime" "^7.14.0"
4458
     "@babel/runtime" "^7.14.0"