Use icon for back button

This commit is contained in:
Jake Howard 2016-03-11 21:20:46 +00:00
parent 8fc894559c
commit 92e66a470d

View file

@ -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}>&lt;</Text> <Text style={styles.text}><Icon name="chevron-left" /></Text>
</TouchableHighlight> </TouchableHighlight>
</View> </View>
); );