diff options
author | Francesco Cioria <firefelix@gmail.com> | 2017-01-21 12:39:18 +0100 |
---|---|---|
committer | Francesco Cioria <firefelix@gmail.com> | 2017-01-22 19:02:12 +0100 |
commit | 2925810519bf6e25cfaee94954e4858f20bb4529 (patch) | |
tree | 6a01064c594832846357d5bcb24476cfe87fdee5 /examples/examples.js | |
parent | 5703e8e4378293b8941018fdf8f5e34d75bf1bbd (diff) | |
download | react-autosize-textarea-2925810519bf6e25cfaee94954e4858f20bb4529.zip react-autosize-textarea-2925810519bf6e25cfaee94954e4858f20bb4529.tar.gz react-autosize-textarea-2925810519bf6e25cfaee94954e4858f20bb4529.tar.bz2 |
improve examples
Diffstat (limited to 'examples/examples.js')
-rw-r--r-- | examples/examples.js | 5 |
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> |