A simple resizable container in React
http://tkloht.github.io/react-simple-resize
npm install --save react-simple-resize
<Resize>
hello world!
</Resize>
Instead of "hello world!" your can use any other children.
type: Number
default: 300
type: Number
default: 300
type: Number
default: 100
type: Number
default: 100
type: Node
type: Object
type: String
type: Object
type: String
type: String
To start a webpack-dev-server with the examples:
npm start
Then open http://localhost:3000
To build the examples:
npm run build-examples
You can find the results in dist_examples
.
To build the Component as published to npm:
npm run build
You can find the results in dist
.
Find me on Twitter or write me an email. Of course you can also use Github issues or open a pull request.
Honestly, it would be really great to know if anyone actually uses my little component. I'm also happy to help if you run into any problems.
MIT