Skip to content

Latest commit

 

History

History
34 lines (30 loc) · 1.11 KB

File metadata and controls

34 lines (30 loc) · 1.11 KB

header-text-button-headref

Header with Text Buttons

Preview ios header-text-button-headref Preview android header-text-button-headref

Syntax

import React, { Component } from 'react';
import { Container, Header, Left, Body, Right, Button, Icon, Title, Text } from 'native-base';
export default class HeaderTextExample extends Component {
  render() {
    return (
      <Container>
        <Header>
          <Left>
            <Button transparent>
              <Text>Back</Text>
            </Button>
          </Left>
          <Body>
            <Title>Header</Title>
          </Body>
          <Right>
            <Button transparent>
              <Text>Cancel</Text>
            </Button>
          </Right>
        </Header>
      </Container>
    );
  }
}