React-Native-Form-Field

1.0.2 • Public • Published

React Native Form Field

Based on react-native-floating-label-text-input.

Installation

To install the module, run the following command within your project directory: npm install React-Native-Form-Field --save

Props

  • autoCapitalize
  • autoCorrect
  • blurOnSubmit
  • placeholder
  • defaultValue
  • editable
  • keyboardType
  • maxLength
  • onChangeText
  • OnChange
  • secureTextEntry

Usage Example

import React, {
  View,
  Component,
} from 'react-native';

import FormField from 'React-Native-Form-Field';

class Example extends Component {
  constructor() {
    super();
    this.render = this.render.bind(this);
    this.state = {
  }

  render(){
  	return(
  		<View>
  			<FormField
  				placeholder="this is a placeholder"
  			/>
  		</View>

  	)
  }
}

modules.exports = Example;

Package Sidebar

Install

npm i React-Native-Form-Field

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • alexleventer