Skip to content

Latest commit

 

History

History
38 lines (35 loc) · 1.59 KB

TransparentButton.md

File metadata and controls

38 lines (35 loc) · 1.59 KB

Transparent Button

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


IOS Android
*Syntax*
import React, { Component } from 'react';
import { Container, Content, Button } from 'native-base';
​
export default class TransparentButtonExample extends Component {
    render() {
        return (
            <Container>
                <Content>
                    <Button transparent> Primary </Button>
                    <Button transparent>
                        <Icon name='ios-home' style={{fontSize: 20, color: '#00c497'}} />
                    </Button>
                </Content>
            </Container>
        );
    }
}