@freakycoder/react-native-text-area

0.0.11 • Public • Published

React Native Text Area

Simple and easy to use TextArea for React Native.

npm version npm Platform - Android and iOS License: MIT styled with prettier

React Native Text Area

Installation

Add the dependency:

React Native:

npm i @freakycoder/react-native-text-area

Peer Dependencies

IMPORTANT! You need install them.
"react": ">= 16.x.x",
"react-native": ">= 0.55.x",

Basic Usage

import TextArea from "react-native-text-area";

<TextArea
  maxCharLimit={50}
  placeholderTextColor="black"
  exceedCharCountColor="#990606"
  placeholder={"Write your review..."}
/>

Configuration - Props

Property Type Default Description
styles style check the code set your own style
backgroundColor color "#fbfbfb" change the TextArea's background color
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

Author

FreakyCoder, kurayogun@gmail.com

License

React Native Text Area Library is available under the MIT license. See the LICENSE file for more info.

/@freakycoder/react-native-text-area/

    Package Sidebar

    Install

    npm i @freakycoder/react-native-text-area@0.0.11

    Version

    0.0.11

    License

    MIT

    Unpacked Size

    27.7 kB

    Total Files

    11

    Last publish

    Collaborators

    • freakycoder