Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions NavbarButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ import styles from './styles';

export default class NavbarButton extends Component {
render() {
const { style, tintColor, margin, title, handler, disabled } = this.props;
const { style, textStyle, tintColor, margin, title, handler, disabled } = this.props;

return (
<TouchableOpacity style={styles.navBarButton} onPress={handler} disabled={disabled}>
<View style={style}>
<Text style={[styles.navBarButtonText, { color: tintColor, }, ]}>{title}</Text>
<Text style={[styles.navBarButtonText, { color: tintColor, }, textStyle]}>{title}</Text>
</View>
</TouchableOpacity>
);
Expand Down