-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSplashScreen.tsx
executable file
·35 lines (32 loc) · 1021 Bytes
/
SplashScreen.tsx
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
import React from "react";
import { View, StyleSheet, Text } from "react-native";
import {SafeAreaView} from "react-native-safe-area-context";
import { MaterialIcons } from '@expo/vector-icons';
import { StatusBar } from 'expo-status-bar';
const SplashScreen = () => {
return (
<SafeAreaView style={styles.container}>
<StatusBar style="light" />
<View style={styles.sub_container}>
<MaterialIcons name="call" size={52} style={styles.phone_call} color="white" />
</View>
<Text style={{fontSize: 18, fontWeight: 'bold', color: 'white', padding: 20}}>My Call App</Text>
</SafeAreaView>
)
}
const styles = StyleSheet.create({
container :{
flex: 1,
backgroundColor: '#1E1060',
justifyContent: 'center',
alignItems: 'center',
},
sub_container : {
backgroundColor: '#5BCA7A',
borderRadius: 50,
},
phone_call : {
padding: 15
}
});
export default SplashScreen;