Skip to content

fakenickels/react-native-autogrow-input

This branch is 5 commits ahead of, 6 commits behind ivpusic/react-native-autogrow-input:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

27a4088 · Oct 2, 2017

History

20 Commits
Dec 23, 2016
Oct 2, 2017
Apr 24, 2016
Apr 24, 2016
Oct 2, 2017
Oct 2, 2017

Repository files navigation

react-native-autogrow-input

Missing auto grow multiline input component

Pure JS Android/iOS drop in TextInput replacement with support for autogrow feature.

Installation

npm install react-native-autogrow-input --save

Example

import React, {Component, View} from 'react-native';
import AutogrowInput from 'react-native-autogrow-input';

export default class MyComponent extends Component {
  render() {
    return <View>
      <AutogrowInput
        defaultHeight={50}
        /* all props supported by original TextInput components are supported */
      />
    </View>;
  }
}

About

Missing auto grow multiline input component

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%