react-fluid-textarea

0.0.2 • Public • Published

react-fluid-textarea

Automatically resizes your text area to the amount you type.

Example Gif

Install

npm install react-fluid-textarea

Props

You can pass all custom props that you would normally do to a text area. This component will just pass them to the inner textarea as normal apart from the style attribute which will do a shallow merge.

How to use

import ResizableTextArea from 'react-fluid-textarea';
 
const MyComponent = () => (
  <ResizableTextArea placeholder="Add your text here..." />
);

Package Sidebar

Install

npm i react-fluid-textarea

Weekly Downloads

10

Version

0.0.2

License

MIT

Last publish

Collaborators

  • yoshimiii