# @freakycoder/react-native-text-area

> Simple and easy to use TextArea for React Native

Latest version **0.1.5** (published 2021-12-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install @freakycoder/react-native-text-area
pnpm add @freakycoder/react-native-text-area
yarn add @freakycoder/react-native-text-area
bun add @freakycoder/react-native-text-area
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.1.5 |
| Published | 2021-12-06 |
| First published | 2019-07-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 20.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 25 |
| Author | Kuray |
| Maintainers | freakycoder |
| Keywords | ios, android, text, text-area, textArea, text-input, ui-kit, FreakyCoder, freakycoder, kuray, Kuray, react, react-native, javascript, ui-lib, rn |

## Links

- npm: https://www.npmjs.com/package/@freakycoder/react-native-text-area
- Repository: https://github.com/WrathChaos/react-native-text-area
- Homepage: https://www.freakycoder.com
- Issues: https://github.com/WrathChaos/react-native-text-area/issues
- npm.io page: https://npm.io/package/@freakycoder/react-native-text-area

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.1.5 (latest) — 2021-12-06
- 0.1.4 — 2021-07-13
- 0.1.3 — 2021-04-27
- 0.1.1 — 2021-02-23
- 0.1.0 — 2021-02-23
- 0.0.12 — 2020-02-19
- 0.0.11 — 2019-07-15
- 0.0.1 — 2019-07-15

## README

<img alt="React Native Text Area" src="https://github.com/WrathChaos/react-native-text-area/blob/master/assets/logo.png" width="1050"/>

[![Simple and easy to use TextArea for React Native](https://img.shields.io/badge/-Simple%20and%20easy%20to%20use%20TextArea%20for%20React%20Native-lightgrey?style=for-the-badge)](https://github.com/WrathChaos/react-native-dynamic-search-bar)

[![npm version](https://img.shields.io/npm/v/@freakycoder/react-native-text-area.svg?style=for-the-badge)](https://www.npmjs.com/package/react-native-text-area)
[![npm](https://img.shields.io/npm/dt/@freakycoder/react-native-text-area.svg?style=for-the-badge)](https://www.npmjs.com/package/react-native-text-area)
![Platform - Android and iOS](https://img.shields.io/badge/platform-Android%20%7C%20iOS-blue.svg?style=for-the-badge)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge)](https://opensource.org/licenses/MIT)
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=for-the-badge)](https://github.com/prettier/prettier)

<p align="center">
<img alt="React Native Text Area" src="assets/Screenshots/example.gif" width="49.7%" />
</p>

## Installation

Add the dependency:

### React Native

```js
npm i @freakycoder/react-native-text-area
```

## Peer Dependencies

###### IMPORTANT! You need install them

<i>Zero Dependency</i>

## Basic Usage

```jsx
import RNTextArea from "@freakycoder/react-native-text-area";

<RNTextArea
  maxCharLimit={50}
  placeholderTextColor="black"
  exceedCharCountColor="#990606"
  placeholder={"Write your review..."}
  onChangeText={(text: string) => 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, kurayogun@gmail.com

## License

React Native Text Area Library is available under the MIT license. See the LICENSE file for more info.

---
_Source: https://npm.io/package/@freakycoder/react-native-text-area · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
