diff options
-rw-r--r-- | src/README.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/README.md b/src/README.md index b5dd210..a963a92 100644 --- a/src/README.md +++ b/src/README.md @@ -1,9 +1,10 @@ # TextareaAutosize -A light replacement for built-in textarea component -which automaticaly adjusts its height to match the content +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 |
\ No newline at end of file +| **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 | |