react-native-pure-input

2.2.3 • Public • Published

react-native-pure-input

pure text input, without any style.

Installation

npm install --save react-native-pure-input

Example

import Input from 'react-native-pure-input'

class Example extends Component {

    render() {
        return (
            <Input
                style={{borderTopWidth: 1, borderTopColor: '#CCC'}}
                inputStyle={{backgroundColor: '#FFF', fontSize: 14}}
                inputAlign="left: input + icon or right: icon + input"
            >
                <Icon ... />
            </Input>
        )
    }
}

Package Sidebar

Install

npm i react-native-pure-input

Weekly Downloads

3

Version

2.2.3

License

ISC

Unpacked Size

4.92 kB

Total Files

4

Last publish

Collaborators

  • musicode