Skip to content

Latest commit

 

History

History
executable file
·
43 lines (39 loc) · 1.64 KB

OutlineButton.md

File metadata and controls

executable file
·
43 lines (39 loc) · 1.64 KB

##button-outline-headref

Outline Button

Include bordered prop with Button to apply outline button style.

Preview ios button-outline-headref Preview android button-outline-headref

Syntax

import React, { Component } from 'react';
import { Container, Content, Button, Text } from 'native-base';
export default class OutlineButtonExample extends Component {
    render() {
        return (
          <Container>
             <Content>
                 <Button outline light bordered>
                     <Text>Light</Text>
                 </Button>
                 <Button bordered>
                     <Text>Primary</Text>
                 </Button>
                 <Button bordered success>
                     <Text>Success</Text>
                 </Button>
                 <Button bordered info>
                     <Text>Info</Text>
                 </Button>
                 <Button bordered warning>
                     <Text>Warning</Text>
                 </Button>
                 <Button bordered danger>
                     <Text>Danger</Text>
                 </Button>
                 <Button dark bordered danger>
                     <Text>Dark</Text>
                 </Button>
             </Content>
         </Container>
        );
    }
}