react-resizable-textarea

[![Build Status](https://travis-ci.org/rvdkooy/react-resizable-textarea.svg?branch=master)](https://travis-ci.org/rvdkooy/react-resizable-textarea)

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
react-resizable-textarea
0.2.25 years ago7 years agoMinified + gzip package size for react-resizable-textarea in KB

Readme

Build Status
react-resizable-textarea
With this ReactJs component you can render textarea's that are resizable in IE, just like in Chrome and Firefox

Usage:

import ResizableTextArea from 'react-resizable-textarea';

<ResizableTextArea value={ 'some text' } onChange={ (e) => window.alert(e.target.value) } />

Optional props

<ResizableTextArea
	directions="xy" // "x"|"y"|"xy" - Resizable directions
	fitOnMount // Auto size the textarea's height on mount
	minWidth={300} // Minimum width in px
	minHeight={100} // Minimum height in px
/>
````

## Development
npm install // installs all dependencies npm run dev-server // starts webserver, runs webpack to create demo bundle and opens a browser
```