forked from lazyflog/MayWeather
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLoading.js
40 lines (37 loc) · 1.05 KB
/
Loading.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
import React from "react";
import { StyleSheet, Text, View, StatusBar } from "react-native";
import { MaterialCommunityIcons } from '@expo/vector-icons';
import { LinearGradient } from 'expo-linear-gradient';
export default function Loading(){
return (
<LinearGradient
colors={['#12c2e9', '#c471ed', '#f64f59']}
style={styles.container}
>
<View style={styles.container}>
<StatusBar barStyle="dark-content" />
<View style={styles.container2}>
<MaterialCommunityIcons name="weather-cloudy" size={150} color="white"/>
<Text style={styles.text}>May Weather</Text>
</View>
</View>
</LinearGradient>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: "center",
alignItems: "center",
},
container2: {
flex: 1,
justifyContent: "center",
alignItems: "center"
},
text:{
color: "#E9E4F0",
fontSize: 20,
marginBottom: 30
}
});