Skip to content

Latest commit

 

History

History
38 lines (35 loc) · 1.82 KB

File metadata and controls

38 lines (35 loc) · 1.82 KB

Rounded Textbox

To have a textbox with round type border, include the borderType property and assign it with value as rounded.

iOS Android

Syntax

import React, { Component } from 'react';
import { Container, Content, InputGroup, Input, Icon } from 'native-base/ui';
​
export default class RoundedTextboxExample extends Component {
    render() {
        return (
            <Container>
                <Content>
                    // Rounded text input box with icon
                    <InputGroup rounded>
                        <Icon name='ios-home' style={{color:'#384850'}}/>
                        <Input placeholder='Type your text here'/>
                    </InputGroup>
                </Content>
            </Container>
        );
    }
}