-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
executable file
·46 lines (31 loc) · 865 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
42
43
44
import * as React from 'react';
import { Text, View, StyleSheet,Alert,TextInput,Fragment,Button } from 'react-native';
import { Constants } from 'expo';
import * as yup from 'yup'
import { Formik } from 'formik'
import { Provider } from 'react-redux';
import AssetExample from './Screens/AssetExample';
import EmployeeList from './Screens/EmployeeList'
import store from './Redux/store'
import { createStackNavigator, createAppContainer } from "react-navigation";
export default class App extends React.Component {
render() {
return (
<Provider store={store}>
<AppContainer />
</Provider>
);
}
}
const AppNavigator = createStackNavigator({
Home: {
screen: AssetExample
},
EmployeeList: {
screen: EmployeeList
}},
{
initialRouteName : "Home"
},
);
const AppContainer = createAppContainer(AppNavigator);