forked from nathvarun/React-Native-Firebase-Tutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSettingsScreen.js
40 lines (35 loc) · 1.02 KB
/
SettingsScreen.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
import React, { Component } from "react";
import {
View,
Text,
StyleSheet,
Image
} from "react-native";
import { Icon, Button, Container, Header, Content, Left } from 'native-base'
class SettingsScreen extends Component {
static navigationOptions = {
drawerIcon: (
<Image source={require('./assets/DrawerIcons/settings.png')}
style={{ height: 24, width: 24 }} />
)
}
render() {
return (
<Container>
<Header>
<Left>
<Icon name="ios-menu" onPress={() => this.props.navigation.navigate('DrawerOpen')} />
</Left>
</Header>
<Content contentContainerStyle={{
flex: 1,
alignItems: 'center',
justifyContent: 'center'
}}>
<Text>Settings Screen</Text>
</Content>
</Container>
);
}
}
export default SettingsScreen;