Drop-in replacement for the textarea component which automatically resizes textarea as content changes. A native React version of the popular jQuery Autosize
This module supports IE9 and above.
Note: Special thanks to Andrey Popp
Contact Me - 8mayday@gmail.com
Disclaimer: The blog is created to share react components information to geek, curious ReactJS Developers.
import Textarea from 'react-textarea-autosize';
// If you use CommonJS syntax:
//
// var Textarea = require('react-textarea-autosize').default;
React.renderComponent(
<div>
<Textarea></Textarea>
</div>,
document.getElementById('element'));
Install
npm install react-textarea-autosize
Demo
https://andreypopp.github.io/react-textarea-autosize/Note: Special thanks to Andrey Popp
Contact Me - 8mayday@gmail.com
Disclaimer: The blog is created to share react components information to geek, curious ReactJS Developers.
Comments
Post a Comment