floating-label-input
This package lets you create a animated floating label text input.
Install
npm install floating-label-input --save
This is fully customizable with following props.
FloatingLabelInputpropTypes = label: PropTypesanyisRequired sourceColor: PropTypesstring targetColor: PropTypesstring fontColor: PropTypesstring labelSize: PropTypesnumber;
Sample Usage
<FloatingLabelInput label="Email" value=thisstateemail autoCapitalize="none" autoCorrect=false onChangeText= this/><FloatingLabelInput label="Password" secureTextEntry autoCapitalize="none" autoCorrect=false value=thisstatepassword onChangeText= this/>
And It will look like below
Feel free to Raise PR should you wish to contribute.