-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
44 lines (37 loc) · 1 KB
/
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
import React, {Component} from 'react';
import {Text, TextInput, View, TouchableOpacity} from 'react-native';
import {Button} from 'native-base';
import { Provider } from 'react-redux';
import store from './src/_redux/store';
import { createStackNavigator, createAppContainer } from 'react-navigation';
import HomeKedai from './src/components/HomeKedai';
import ListMenu from './src/components/ListMenu';
import Invoice from './src/components/Invoice';
const RootNavigation = createAppContainer(createStackNavigator({
HomeKedai: {
screen : HomeKedai,
navigationOptions: {
headerTransparent: true
}
},
ListMenu : {
screen: ListMenu,
navigationOptions:{
header: null
}
},
Invoice : {
screen: Invoice,
navigationOptions:{
header: null
}
}
}));
const App = () => {
return (
<Provider store={store}>
<RootNavigation/>
</Provider>
)
}
export default App;