react-native-text-input
v1.1.0
Published
Provides Text Input component with colorization for password both on Android & iOS
Downloads
5
Maintainers
Readme
React Native Text Input
On React Native Android, you cannot change the color of an input of type password.
It is a known issue and a PR has already been merged
and should land in React Native 0.23 or 0.24.
In the meantime, you can use this module which is basically a copy-paste of the TextInput component in React Native 0.20 including the fix made in the PR above.
Install it
npm install --save react-native-text-input
Link the module with RNPM:
npm install -g rnpm
rnpm link react-native-text-input
Now you can replace:
import { TextInput } from 'react-native';
by:
import TextInput from 'react-native-text-input';