h2io-modal

0.2.7 • Public • Published

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.

/h2io-modal/

    Package Sidebar

    Install

    npm i h2io-modal

    Weekly Downloads

    2

    Version

    0.2.7

    License

    ISC

    Last publish

    Collaborators

    • h2io