@ieremeev/render-in-body
@ieremeev/render-in-body render the child component in body. It can be useful for modal windows.
Installation
Run this command:
npm install @ieremeev/render-in-body --save
Usage
var RenderInBody = require('@ieremeev/render-in-body');
var MyComponent = React.createClass({
render() {
return (
<RenderInBody>
<div>Some content</div>
</RenderInBody>
);
},
});
Props
There is no props