forked from ShaharBenS/ShafaApp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
26 lines (22 loc) · 732 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
/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component } from 'react';
import {
AppRegistry,
} from 'react-native';
import { NavigationComponent } from 'react-native-material-bottom-navigation'
import { TabNavigator } from "react-navigation";
import Categories from "./App/Screens/Categories";
import Favorites from "./App/Screens/Favorites";
import Chats from "./App/Screens/Chats";
import Profile from "./App/Screens/Profile";
import ItemsGallery from "./App/Screens/ItemsGallery";
let App = SwitchNavigator({
loginScreen: {screen: FacebookLogin},
mainScreen: {screen: MainScreen}},
);
export default App;
AppRegistry.registerComponent('App', () => App);