-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathApp.js
59 lines (41 loc) · 981 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import React from 'react';
import { StyleSheet, Text, View ,ImageBackground,Image } from 'react-native';
import img2 from './index.png';
import {RkButton,RkTheme} from 'react-native-ui-kitten';
import {createStackNavigator} from 'react-navigation';
import AppDrawNav from './screen/drawNavigator'
import WelcomeScreen from './screen/welcomeScreen'
export default class App extends React.Component {
render() {
return (
<AppNav />
);
}
}
const AppNav = new createStackNavigator({
WelcomeScreen:{screen: WelcomeScreen},
AppDrawNav:{
screen: AppDrawNav,
navigationOptions :{
header: null
}
}
})
const styles = StyleSheet.create({
container: {
flex: 1,
alignItems: 'stretch',
justifyContent: 'center',
backgroundColor: '#401c73'
},
image: {
flexGrow:1,
height:null,
width:null,
alignItems: 'center',
justifyContent:'center',
},
paragraph: {
textAlign: 'center',
},
});