h2io-modal
v0.2.7
Published
Modal Component for React by H2io
Downloads
5
Readme
h2io Modal
Modal Component for React by H2io
Usage
<Modal
animate
width="500px"
height="350px"
cleanup={fn} >
<YourContentHere />
</Modal>
Note: The cleanup prop
is used to clean up any state changes made in the parent.
The Modal
will not unmount itself if you don't do anything about it.
Examples
To build the examples run npm run build-examples
and open up their respective index.html
.