# TextareaAutosize

A light replacement for built-in `<textarea />` component which automatically adjusts its height to match the content.

## Props
|Name|Type|Default|Description|
|----|----|-------|-----------|
| **onResize** | <code>Function</code> |  | *optional*. Called whenever the textarea resizes |
| **rows** | <code>Number</code> |  | *optional*. Minimum number of visible rows |
| **maxRows** | <code>Number</code> |  | *optional*. Maximum number of visible rows |
| **ref** | <code>Function</code> |  | *optional*. Called with the ref to the DOM node |
