Package Exports
- react-resizable
- react-resizable/css/styles.css
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-resizable) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
React-Resizable
A simple widget that can be resized via a handle.
You can either use the <Resizable> element directly, or use the much simpler <ResizableBox> element.
See the example and associated code in TestLayout and ResizableBox for more details.
Usage
var ResizableBox = require('react-resizable').ResizableBox;
...
render: function() {
return (
<ResizableBox width={200} height={200}
minConstraints={[100, 100]} maxConstraints={[300, 300]}>
<span>Contents</span>
</ResizableBox>
);
}