Skip to content

Latest commit

 

History

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

RoundButton.md

File metadata and controls

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

##button-rounded-headref

Rounded Button

Include rounded prop with Button to easily style your buttons.

Preview ios button-rounded-headref Preview android button-rounded-headref

Syntax

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