Use icon for back button
This commit is contained in:
parent
8fc894559c
commit
92e66a470d
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
import React from 'react-native';
|
import React from 'react-native';
|
||||||
import GlobalStyles from '../../settings/styles';
|
import GlobalStyles from '../../settings/styles';
|
||||||
|
import Icon from 'react-native-vector-icons/Ionicons';
|
||||||
|
|
||||||
var {
|
var {
|
||||||
StyleSheet,
|
StyleSheet,
|
||||||
|
@ -33,7 +34,7 @@ export default class NavigationButton extends React.Component {
|
||||||
style={styles.toolbarButton}
|
style={styles.toolbarButton}
|
||||||
underlayColor={GlobalStyles.get('CIRCLE_NAVBAR_BG')}
|
underlayColor={GlobalStyles.get('CIRCLE_NAVBAR_BG')}
|
||||||
onPress={this.goBack.bind(this)}>
|
onPress={this.goBack.bind(this)}>
|
||||||
<Text style={styles.text}><</Text>
|
<Text style={styles.text}><Icon name="chevron-left" /></Text>
|
||||||
</TouchableHighlight>
|
</TouchableHighlight>
|
||||||
</View>
|
</View>
|
||||||
);
|
);
|
||||||
|
|
Reference in a new issue