Skip to content

mfunkie/react-overlay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Overlay npm version

A React component used to overlay content.

Deprecated Warning

0.1.7 will likely be the last release of react-overlay. Use react-overlays instead. It's awesome!

Getting Started

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>
  );
}

About

A React component used to overlay content.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published