-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
41 lines (31 loc) · 972 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
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
//import AppDrawerNavigator './app/screens/AppDrawerNavigator';
//import appTabNavigator from './app/screens/appTabNavigator';
//import AppStackNavigator from './app/routes/AppStackNavigator';
import initialStack from './app/routes/initialStack';
import * as firebase from 'firebase';
const firebaseConfig = {
apiKey: "AIzaSyBoY3XbwGX3zJRb04ZlCt1NfdZ6UZ5SK7w",
authDomain: "kasihub-27.firebaseapp.com",
databaseURL: "https://kasihub-27.firebaseio.com",
projectId: "kasihub-27",
storageBucket: "kasihub-27.appspot.com",
messagingSenderId: "600175008781"
};
firebase.initializeApp(firebaseConfig);
export default class App extends React.Component {
render() {
return (
<initialStack/>
);
}
}
const styles = StyleSheet.create({
body: {
flex: 1,
backgroundColor: 'green',
alignItems: 'center',
justifyContent: 'center',
}
});