@ieremeev/render-in-body

1.0.1 • Public • Published

@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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @ieremeev/render-in-body

      Weekly Downloads

      2

      Version

      1.0.1

      License

      ISC

      Last publish

      Collaborators

      • ieremeev