Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/akiran/react-autosize


https://github.com/akiran/react-autosize

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

## react-textarea-autosize
React component to adjust textarea height automatically to fit text.

### Install
`npm install react-textarea-autosize --save`

### Example
```js
var React = require('react');
var Textarea = require('react-textarea-autosize');

var TextareaDemo = React.createClass({
render: function () {
return (

When you enter more text in this textarea,
its height increases automatically instead of showing a scrollbar.

);
}
});
```