-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
43 lines (38 loc) · 1007 Bytes
/
App.js
File metadata and controls
43 lines (38 loc) · 1007 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
40
41
42
43
import { StatusBar } from 'expo-status-bar'; // importanto uma biblioteca (é tipo o meno de navegação de um celular)
import { StyleSheet, Text, View } from 'react-native';
import { Image } from 'expo-image';
import Logo from './src/components/Logo';
export default function App() {
return (
<View style={styles.container}>
<Logo />
<Text style={styles.titulo}>Meu Primeiro Aplicativo👌!</Text>
<Text style={styles.descricao}>Esse é o meu App...</Text>
<Logo />
<StatusBar style="auto" />
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
alignItems: 'center',
justifyContent: 'center',
},
titulo: {
fontSize: '28px',
fontWeight: 'bold',
color: '#1E90FF',
fontFamily: 'sans'
},
descricao: {
color: '#87CEFA',
fontSize: '20px',
fontFamily: 'sans',
fontWeight: '800',
padding: '10px',
backgroundColor: '#E0FFFF',
borderRadius: '10px'
},
});