-
Notifications
You must be signed in to change notification settings - Fork 0
/
game.js
75 lines (61 loc) · 1.54 KB
/
game.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
import React from 'react';
import { StyleSheet, Text, View,ImageBackground,Image,ActivityIndicator,Na } from 'react-native';
import {createAppContainer,Tab} from 'react-navigation';
import {createStackNavigator} from 'react-navigation-stack';
import Maina from './Maina'
import { fire } from './config';
import { Container, Content, Header, Form, Input, Item, Button, Label } from 'native-base'
import Hello from './hello';
export default class Game extends React.Component {
constructor(props) {
super(props)
this.state = ({
email: '',
password: ''
})
}
static navigationOptions = { header: null };
render() {
return (
<AppContainer/>
);
}
}
const RootStack = createStackNavigator(
{
Hello: Hello,
},
{
initialRouteName: 'Hello',
}
);
const AppContainer = createAppContainer(RootStack);
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
justifyContent: 'center',
padding: 10
},
backgroundContainer: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
width: null,
height: null,
},
logo: {
width: 120,
height: 120,
},
logoContainer: {
alignItems: 'center'
},
logoText: {
color: 'white',
fontSize: 20,
fontWeight: '500',
marginTop: 10,
opacity: 0.5
},
});