React ModalOverlay Component
IE 8+ ✔ | Chrome 31.0+ ✔ | Firefox 31.0+ ✔ | Opera 30.0+ ✔ | Safari 7.0+ ✔ |
http://localhost:8000/examples/
online example: http://OnVelocity.github.io/react-modal-overlay/
- support ie8,ie8+,chrome,firefox,safari
import React from 'react'
import ReactDOM from 'react-dom'
import ModalOverlay from 'ov-react-modal-overlay'
ReactDOM.render(<ModalOverlay />, container);
name | type | default | description |
---|---|---|---|
className | String | additional css class of root dom node | |
onClick | func | callback when click on modal overlay detected |
npm install
npm start
http://localhost:8000/tests/runner.html?coverage
ov-react-modal-overlay is released under the MIT license.