1.0.2 • Published 8 years ago

React-Native-Form-Field v1.0.2

Weekly downloads
12
License
MIT
Repository
github
Last release
8 years ago

#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;