Skip to content

Latest commit

 

History

History
34 lines (31 loc) · 1.19 KB

IconTextButton.md

File metadata and controls

34 lines (31 loc) · 1.19 KB

header-icon-text-button-headref

Header with Icon and Text Button

Preview ios header-icon-text-button-headref Preview android header-icon-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 HeaderIconTextButtonExample extends Component {
  render() {
    return (
      <Container>
        <Header>
          <Left>
            <Button transparent>
              <Icon name='arrow-back' />
              <Text>Back</Text>
            </Button>
          </Left>
          <Body>
            <Title>Header</Title>
          </Body>
          <Right>
            <Button transparent>
              <Text>Cancel</Text>
            </Button>
          </Right>
        </Header>
      </Container>
    );
  }
}