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

react-native-auto-expanding-textinput

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-auto-expanding-textinput

A TextInput with auto expanding function for your React Native app.

  • 0.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

react-native-auto-expanding-textinput

A TextInput with auto expanding function for your React Native app.

Installation

npm install react-native-auto-expanding-textinput --save

Usage

Using the Loading usually looks like this:

var AutoExpandingTextInput = require('react-native-auto-expanding-textinput');

var Demo = React.createClass({

  ...

  _onChangeHeight(before, after) {
    console.log('before: ' + before + ' after: ' + after);
  }

  render() {
    return (
      <View>
        ...
        <AutoExpandingTextInput
          placeholder="height increases with content"
          enablesReturnKeyAutomatically={true}
          returnKeyType="done"
          minHeight={40}
          maxHeight={44}
          onChangeHeight={this._onChangeHeight}
        />
      </View>
    );
  }

License

react-native-auto-expanding-textinput is available under the MIT license. See the LICENSE file for more info.

Keywords

FAQs

Package last updated on 14 Jun 2016

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