README
react-autogrow-textarea
A simple React component for a textarea that grows and shrinks with the amount of text inside.
Installation
npm install --save react-autogrow-textarea
Usage
const AutogrowingTextarea = require('react-autogrow-textarea');
<AutogrowingTextarea className="form-control"
value="Bumblebee Tuna"
onChange={this.onChange}
onKeyDown={this.onKeyDown}
onFocus={this.onFocus}
onBlur={this.onBlur} />
Properties
The component simply passes its props through to the underlying <textarea></textarea>
element. See the
list of supported events in React.