-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
33 lines (27 loc) · 859 Bytes
/
App.js
File metadata and controls
33 lines (27 loc) · 859 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
import { StatusBar } from 'expo-status-bar';
import { StyleSheet, Text, View, ScrollView } from 'react-native';
import { Poppins_300Light, Poppins_400Regular, Poppins_500Medium, Poppins_600SemiBold,
useFonts } from '@expo-google-fonts/poppins';
import Header from './src/Components/Header';
import Games from './src/Components/Games';
import Lottie from "lottie-react-native";
import Icon from "./src/assets/53943-gamer.json";
export default function App() {
const [fontsLoaded] = useFonts({Poppins_300Light, Poppins_400Regular, Poppins_500Medium, Poppins_600SemiBold})
if(!fontsLoaded){
return null;
}
return (
<View style={styles.container}>
<Header />
<Games />
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
justifyContent: 'space-around',
},
});