summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/README.md7
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 |