-
Notifications
You must be signed in to change notification settings - Fork 2
/
App.js
40 lines (36 loc) · 1.11 KB
/
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
import { StatusBar } from 'expo-status-bar';
import { StyleSheet, Button, Text, View } from 'react-native';
import BottomTabs from './navigators/BottomTabs';
import 'react-native-gesture-handler';
import { initializeApp } from 'firebase/app';
const firebaseConfig = {
apiKey: "AIzaSyA29m5bDIfnVb3xoGKSjkXMwZhsKXP8dMQ",
authDomain: "chow-down-e9c98.firebaseapp.com",
databaseURL: "https://chow-down-e9c98-default-rtdb.firebaseio.com",
projectId: "chow-down-e9c98",
storageBucket: "chow-down-e9c98.appspot.com",
messagingSenderId: "1024750009491",
appId: "1:1024750009491:web:5956c807371b3fe0b5a166",
measurementId: "G-3SYP9GW77S"
};
initializeApp(firebaseConfig);
// 8/11/22: npm install @react-navigation/bottom-tabs
/**
* App controls (at a high level) are stored here
* See HomeScreen.js for the home screen code
* @returns Display for mobile device
*/
export default function App() {
return (
<View style={styles.container}>
<StatusBar style="auto" />
<BottomTabs />
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#FFF4BE',
}
})