You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
ReactOrganizer/components/DefaultHeader.js

29 lines
774 B

import React, {Component} from "react";
import {Body, Button, Container, Content, H3, Header, Icon, Left, Right, Title} from "native-base";
export default class DefaultHeader extends Component {
constructor(props) {
super(props);
}
render() {
return (
<Header {...this.props}>
<Left>
<Button
transparent
onPress={() => this.props.navigation.navigate("DrawerOpen")}
>
<Icon name="menu"/>
</Button>
</Left>
<Body>
<Title>{this.props.title}</Title>
</Body>
<Right/>
</Header>
)
}
}