summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/examples.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/examples.js b/examples/examples.js
index 2a5bea0..c79bf11 100644
--- a/examples/examples.js
+++ b/examples/examples.js
@@ -33,11 +33,12 @@ class Example extends React.Component {
placeholder='minimun height is 3 rows'
/>
- <h2>Maximum height is 5 "rows"</h2>
+ <h2>Maximum height is 3 "rows"</h2>
<TextareaAutosize
- maxRows={5}
+ maxRows={3}
style={this.textareaStyle}
placeholder='maximum height is 5 rows'
+ defaultValue={'this\nis\na\nlong\ninitial\ntext'}
/>
<h2>Prefilled with initial value</h2>