-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
20 lines (19 loc) · 857 Bytes
/
App.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import React from 'react';
import { StyleSheet, Text, View, Navigator, Button } from 'react-native';
import CalendarScreen from './src/components/screens/CalendarScreen';
// import CalendarScreen from './src/components/screens/CalendarScreen';
import HomeScreen from './src/components/screens/HomeScreen';
import CreateCalendarScreen from './src/components/screens/CreateCalendarScreen';
import CreateHabitScreen from './src/components/screens/CreateHabitScreen';
import RealmTestScreen from './src/components/screens/RealmTestScreen';
import {
StackNavigator,
} from 'react-navigation';
const App = StackNavigator({
Home: { screen: HomeScreen },
Calendar: { screen: CalendarScreen },
CreateCalendar: { screen: CreateCalendarScreen },
CreateHabit: {screen: CreateHabitScreen},
RealmTestScreen: {screen: RealmTestScreen},
});
export default App;