react-native-pure-input

react native text input

Usage no npm install needed!

<script type="module">
  import reactNativePureInput from 'https://cdn.skypack.dev/react-native-pure-input';
</script>

README

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>
        )
    }
}