-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
31 lines (27 loc) · 847 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
import { View, ScrollView } from 'react-native';
import { createStackNavigator } from 'react-navigation';
import t from 'tcomb-form-native';
import Login from './src/login/Login';
import TeacherForm from './src/components/teachers_form.js';
import Profile from './src/profile/Profile';
import CreateExamModel from './src/examModel/createExamModel';
import ExamTemplateList from './src/examTemplate/examTemplateList'
const Form = t.form.Form;
const App = createStackNavigator(
{
Home: { screen: Login },
SignUp: { screen: TeacherForm },
Profile: { screen: Profile },
CreateExamModel: { screen: CreateExamModel },
ExamTemplateList: { screen: ExamTemplateList}
},
{
navigationOptions: {
headerStyle: {
backgroundColor: 'green',
},
headerTintColor: '#fff',
}
}
);
export default App;