@olasearch/textarea-elastic
v1.0.2
Published
Automatically adjusts the height of the textarea as user types
Downloads
3
Keywords
Readme
Elastic textarea
Automatically adjusts the height of the textarea as user types
Installation
React Autogrow Textarea can be installed as an npm package
yarn add @olasearch/textarea-elastic
Usage
import React from 'react';
import Textarea from '@olasearch/textarea-elastic';
let App = React.createClass({
render() {
return (
<Textarea />
);
}
});
React.render(<App/>, document.getElementById('container'));
You can pass all props
that can be used with default React textarea
License
This project is licensed under the terms of the MIT license.