Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akiran/react-autosize
https://github.com/akiran/react-autosize
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/akiran/react-autosize
- Owner: akiran
- Created: 2015-04-01T10:29:15.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-04-07T10:28:18.000Z (over 9 years ago)
- Last Synced: 2024-05-01T21:29:48.103Z (7 months ago)
- Language: JavaScript
- Size: 121 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.
);
}
});
```