summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Cioria <firefelix@gmail.com>2017-04-20 15:23:11 +0200
committerFrancesco Cioria <firefelix@gmail.com>2017-04-20 15:23:11 +0200
commit3ca80251803a2fc8fa4e1eededad8ca4fdd357fb (patch)
treedd70183b84e9668fb72766cbe9ef5dc4d912c805
parent9a992acc033d787093855dc52f74815471ab6075 (diff)
downloadreact-autosize-textarea-3ca80251803a2fc8fa4e1eededad8ca4fdd357fb.zip
react-autosize-textarea-3ca80251803a2fc8fa4e1eededad8ca4fdd357fb.tar.gz
react-autosize-textarea-3ca80251803a2fc8fa4e1eededad8ca4fdd357fb.tar.bz2
Update src/README.md
-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 |