react-textarea-auto-resize
v1.1.8
Published
The react-textarea-auto-resize npm package is a utility that provides an auto-resizing feature for textarea components in React. It automatically adjusts the height of a textarea based on its content, allowing it to grow or shrink dynamically as the user
Downloads
720
Maintainers
Readme
React TextArea Auto Resize
The react-textarea-auto-resize npm package is a utility that provides an auto-resizing feature for textarea components in React. It automatically adjusts the height of a textarea based on its content, allowing it to grow or shrink dynamically as the user types or deletes text.
When using this package, you no longer need to manually handle the resizing logic or set fixed rows for the textarea. Instead, the package takes care of adjusting the height to fit the content.
Demo
Full Documentation
Installation
To install the package, you can use npm or yarn:
npm install react-textarea-auto-resize
or
yarn add react-textarea-auto-resize