# react-resizable-textarea

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

Latest version **0.2.2** (published 2019-01-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-resizable-textarea
pnpm add react-resizable-textarea
yarn add react-resizable-textarea
bun add react-resizable-textarea
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.2 |
| Published | 2019-01-11 |
| First published | 2016-11-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 31.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 4 |
| Author | Ronald van der Kooij |
| Maintainers | rvdkooy |

## Links

- npm: https://www.npmjs.com/package/react-resizable-textarea
- Repository: https://github.com/rvdkooy/react-resizable-textarea
- Homepage: https://github.com/rvdkooy/react-resizable-textarea#readme
- Issues: https://github.com/rvdkooy/react-resizable-textarea/issues
- npm.io page: https://npm.io/package/react-resizable-textarea

## Recent versions

- 0.2.2 (latest) — 2019-01-11
- 0.2.1 — 2019-01-11
- 0.2.0 — 2017-09-28
- 0.1.1 — 2017-01-27
- 0.1.0 — 2016-12-22
- 0.0.6 — 2016-11-16
- 0.0.5 — 2016-11-16
- 0.0.4 — 2016-11-16
- 0.0.3 — 2016-11-16
- 0.0.2 — 2016-11-16
- 0.0.1 — 2016-11-14

## README

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

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


## Usage:

``` javascript

import ResizableTextArea from 'react-resizable-textarea';

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

```

## Optional props

``` javascript
<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

```

---
_Source: https://npm.io/package/react-resizable-textarea · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
