diff options
author | Francesco <firefelix@gmail.com> | 2015-06-29 22:02:25 +0200 |
---|---|---|
committer | Francesco <firefelix@gmail.com> | 2015-06-29 22:04:43 +0200 |
commit | c5c12c5597804cba88608602491ac18013deb57c (patch) | |
tree | dd0a7681944e5fdc89d3664c9f2e3bb9de033fc1 | |
parent | 38bcbea671ac414323d3197df28d58be33217447 (diff) | |
download | react-autosize-textarea-c5c12c5597804cba88608602491ac18013deb57c.zip react-autosize-textarea-c5c12c5597804cba88608602491ac18013deb57c.tar.gz react-autosize-textarea-c5c12c5597804cba88608602491ac18013deb57c.tar.bz2 |
updated live demo link
-rw-r--r-- | README.md | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -1,12 +1,10 @@ -[](http://codecov.io/github/buildo/react-textarea-autosize?branch=master) - # React Autosize Textarea A light replacement for built-in textarea component which automaticaly adjusts its height to match the content. **It does not require any polyfill** -This module is based on the very popular autosize script written by Jack Moore. Check its website [here](http://www.jacklmoore.com/autosize/) for more documentation. +This module is based on the very popular autosize script written by Jack Moore. Check his website [here](http://www.jacklmoore.com/autosize/) for more documentation. -``` +```jsx var TextareaAutosize = require('react-autosize-textarea'); React.renderComponent( @@ -15,8 +13,9 @@ React.renderComponent( </div>, document.body); ``` +[Live Demo](https://rawgit.com/buildo/react-autosize-textarea/master/examples/index.html) -You can see a live demo [here](http://jsfiddle.net/FrancescoCioria/m2rpyfsx/2/) +[More Examples](https://github.com/buildo/react-autosize-textarea/tree/master/examples) ###Install ``` @@ -27,7 +26,7 @@ npm install --save react-autosize-textarea You can pass any props you're allowed to use with default React textarea (valueLink too). You can also pass the callback **onResize** which will be triggered at any resize: -``` +```jsx onResize: React.PropTypes.func ``` |