-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
39 lines (35 loc) · 828 Bytes
/
App.js
File metadata and controls
39 lines (35 loc) · 828 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import { StatusBar } from 'expo-status-bar';
import { StyleSheet, Text, View, Image } from 'react-native';
import logo from './assets/logo.png';
export default function App() {
return (
<View style={styles.container}>
<Image source={logo} style={styles.logo}></Image>
<Text style={styles.instructions}>To share a photo from your phone with a friend, just press the button below!</Text>
<StatusBar style="auto" />
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
alignItems: 'center',
justifyContent: 'center',
},
instructions: {
color: '#888',
fontSize: 18,
marginHorizontal: 15,
},
buttonText: {
},
button: {
},
logo: {
width: 305,
height: 159,
padding: 10,
marginBottom: 10,
},
});