-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
26 lines (23 loc) · 810 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
import React, { Component } from "react";
import HomeScreen from "./HomeScreen.js";
//import MainScreenNavigator from "../ChatScreen/index.js";
//import Profile from "../ProfileScreen/index.js";
import SideBar from "./SideBar.js";
import AboutScreen from "./AboutScreen.js"
import InputScreen from "./InputScreen.js"
import { DrawerNavigator } from "react-navigation";
import * as firebase from "firebase";
import { dbConfig } from "./DBConf.js";
const HomeScreenRouter = DrawerNavigator(
{
Home: { screen: HomeScreen },
// Chat: { screen: MainScreenNavigator },
Input: { screen: InputScreen },
About: { screen: AboutScreen }
},
{
contentComponent: props => <SideBar {...props} />
}
);
export default HomeScreenRouter;
export const firebaseAPP = firebase.initializeApp(dbConfig);