Skip to content

Latest commit

 

History

History
executable file
·
42 lines (39 loc) · 1.69 KB

TransparentButton.md

File metadata and controls

executable file
·
42 lines (39 loc) · 1.69 KB

##button-transparent-headref

Transparent Button

Include transparent prop with Button. This will render button without border and background color.

Preview ios button-transparent-headref Preview android button-transparent-headref Syntax

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