-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathSelectLocation.js
57 lines (53 loc) · 1.06 KB
/
SelectLocation.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
import React from 'react';
import {
Image,
Platform,
ScrollView,
StyleSheet,
Text,
TouchableOpacity,
View,
Dimensions,
Button
} from 'react-native';
var SelectLocation = require('./map.js');
export default class AddLocationScreen extends React.Component {
static navigationOptions = {
header: null,
};
render() {
return (
<View style={styles.container}>
<Text style={styles.text}>Add Your Home Base!</Text>
<TouchableOpacity onPress={() => this.props.navigation.navigate('Home')}>
</TouchableOpacity>
</View>
);
}
}
const window = Dimensions.get('window');
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#191979',
padding: 30,
alignItems: 'center',
},
text: {
fontSize: 30,
color: '#fff',
},
button: {
margin: 20,
padding: 10,
borderRadius: 30,
backgroundColor: '#FFFFFF',
width: window.width / 2,
alignItems: 'center',
},
buttonText: {
color: '#171797',
fontSize: 16
},
})
module.exports = AddLocationScreen;