Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-auto-grow-textinput

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-auto-grow-textinput

This component allows to create auto grow text input for both platforms (iOS and Android).

  • 1.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
215
decreased by-1.38%
Maintainers
1
Weekly downloads
 
Created
Source

ReactNative Auto Grow TextInput

This component allows to create auto grow text input for both platforms (iOS and Android).

Attantion

If you use ReactNative <= 0.43.X in your poject, you should install version 1.1.2 of ReactNative Auto Grow TextInput.

$ yarn add react-native-auto-grow-textinput@1.1.2

Getting started

First of all, you need to install react-native-auto-grow-textinput to your project.

$ yarn add react-native-auto-grow-textinput

After, you can use it in your project:

import { AutoGrowTextInput } from 'react-native-auto-grow-textinput';

...
// If you don't need max height
<AutoGrowTextInput placeholder='Some text here'/>

// else if you need to set up max height
<AutoGrowTextInput placeholder='Some text here' maxHeight={ 120 } />

// Connected to state
<AutoGrowTextInput value={this.state.text} onChangeText={this.onChangeText} />
...
// Also you can use any other TextInput props with AutoGrowTextInput component

I hope it'll save your time.

Keywords

FAQs

Package last updated on 19 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc