A React component used to overlay content.
0.1.7 will likely be the last release of react-overlay. Use react-overlays instead. It's awesome!
Install react-overlay with npm
npm install react-overlay --save
Require the Overlay component in your code
import { Overlay } from 'react-overlay';
// or
const { Overlay } = require('react-overlay');
// or
var Overlay = require('react-overlay').Overlay;
Use the overlay in your code
render() {
// ...
return (
<div>
<Overlay>
<span>I am attached to the body!</span>
</Overlay>
</div>
);
}