An auto-height textarea component for React
npm install react-textarea-autoheightreact-textarea-autoheight adjusts your textareas' height automatically as you type in.
You can install this package using npm:
npm install --save react-textarea-autoheight
After installation you can import the component:
``es6`
import Textarea from 'react-textarea-autoheight';
You can pass any props as you pass to normal .
`es6`
Currently it has only one prop:
* wrapperClassName: Use this prop to override default .textarea-autoheight class.
There are some classes that you can use to style your
You can use the following styles for start:
```
.textarea-autoheight {
border: 1px solid #eeeeee;
padding: 10px;
}
.textarea-autoheight:hover {
border-color: #cccccc;
}
.textarea-autoheight.focus {
border-color: #aaaaaa;
}