Package Exports
- react-textarea-autosize
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-textarea-autosize) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-textarea-autosize
Replacement for textarea component which uses jquery-autosize to grow textarea as content grows:
var Textarea = require('react-textarea-autosize');
React.renderComponent(
<div>
<Textarea autosize></Textarea>
</div>,
document.body);
As you can see there's autosize
boolean property which would activate
jquery-autosize plugin.
This component relies on jQuery to be globally accessible via window.jQuery
.