https://github.com/wrathchaos/react-native-text-area
Simple and easy to use TextArea for React Native.
https://github.com/wrathchaos/react-native-text-area
development freakycoder mobile-app mobile-app-development react react-native software text text-area text-input textarea
Last synced: about 1 month ago
JSON representation
Simple and easy to use TextArea for React Native.
- Host: GitHub
- URL: https://github.com/wrathchaos/react-native-text-area
- Owner: WrathChaos
- Created: 2019-07-15T14:38:06.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-06-08T09:59:50.000Z (almost 2 years ago)
- Last Synced: 2025-04-05T21:56:31.436Z (about 2 months ago)
- Topics: development, freakycoder, mobile-app, mobile-app-development, react, react-native, software, text, text-area, text-input, textarea
- Language: Java
- Homepage: https://www.freakycoder.com
- Size: 3.34 MB
- Stars: 25
- Watchers: 2
- Forks: 6
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://github.com/WrathChaos/react-native-dynamic-search-bar)
[](https://www.npmjs.com/package/react-native-text-area)
[](https://www.npmjs.com/package/react-native-text-area)

[](https://opensource.org/licenses/MIT)
[](https://github.com/prettier/prettier)
![]()
## Installation
Add the dependency:
### React Native
```js
npm i @freakycoder/react-native-text-area
```## Peer Dependencies
###### IMPORTANT! You need install them
Zero Dependency
## Basic Usage
```jsx
import RNTextArea from "@freakycoder/react-native-text-area";console.log("Text: ", text)}
/>;
```## Example Project 😍
You can checkout the example project 🥰
Simply run
- `npm i`
- `react-native run-ios/android`should work of the example project.
## Configuration - Props
| Property | Type | Default | Description |
| -------------------- | :----: | :-----: | ----------------------------------------- |
| style | style | default | set your own style |
| charCount | number | 0 | set the current character count |
| maxCharLimit | number | 200 | set the maximum character count limit |
| charCountColor | color | "#ccc" | change character count's color |
| exceedCharCountColor | color | "red" | change the exceeded character count color |
| defaultCharCount | number | 0 | set the default char count other than 0 |
| inputRef | ref | default | set the input reference |## Author
FreakyCoder, [email protected]
## License
React Native Text Area Library is available under the MIT license. See the LICENSE file for more info.