https://github.com/bamlab/react-native-text-input
Provides Text Input component with colorization for password both on Android & iOS
https://github.com/bamlab/react-native-text-input
Last synced: 8 months ago
JSON representation
Provides Text Input component with colorization for password both on Android & iOS
- Host: GitHub
- URL: https://github.com/bamlab/react-native-text-input
- Owner: bamlab
- License: mit
- Created: 2016-04-05T15:37:44.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-03-28T07:33:29.000Z (over 9 years ago)
- Last Synced: 2025-05-16T14:52:21.471Z (about 1 year ago)
- Language: Java
- Homepage:
- Size: 22.5 KB
- Stars: 15
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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](https://github.com/facebook/react-native/pull/6563)
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
```shell
npm install --save react-native-text-input
```
Link the module with [RNPM](https://github.com/rnpm/rnpm):
```shell
npm install -g rnpm
rnpm link react-native-text-input
```
Now you can replace:
```javascript
import { TextInput } from 'react-native';
```
by:
```javascript
import TextInput from 'react-native-text-input';
```