-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
45 lines (42 loc) · 969 Bytes
/
App.js
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
44
45
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
import { LinearGradient } from 'expo-linear-gradient';
const App = () => (
<View style={styles.container}>
<LinearGradient
colors={['#48c6ef', '#6f86d6']}
style={{
flex: 1,
width: '100%',
alignItems: 'center',
justifyContent: 'center',
}}
>
<Text style={styles.header}>Expo Starter</Text>
<Text style={styles.subHeader}>- UNIMODULES -</Text>
<Text style={styles.subHeader}>[ Linear Gradient ]</Text>
</LinearGradient>
</View>
);
const styles = StyleSheet.create({
container: {
flex: 1,
},
gradient: {
width: '100%',
alignItems: 'center',
justifyContent: 'center',
},
header: {
fontSize: 26,
fontWeight: 'bold',
color: '#FFFFFF',
marginBottom: 10,
},
subHeader: {
fontSize: 14,
letterSpacing: 4,
color: '#FFFFFF',
},
});
export default App;