react-backdrop
v0.0.2
Published
A basic backdrop for modal dialogs and other stuff.
Downloads
42
Readme
react-backdrop
A basic backdrop for modal dialogs and other stuff.
Usage
import Listener from "react-backdrop"
import Backdrop from "../src/index.js"
const App = () =>
<Backdrop onClick={event => event.preventDefault && console.log("clicked")}>
<p>This should be on a nice backdrop</p>
</Backdrop>