oum-react-modal
v1.0.3
Published
A simple & lightweight method of displaying modal windows with React.
Downloads
5
Readme
oum-react-modal
A simple & lightweight method of displaying modal windows with React and published.
Install
npm install --save oum-react-modal
Usage
import React, { Component } from 'react'
import ReactModal from 'oum-react-modal'
import 'oum-react-modal/dist/index.css'
class Example extends Component {
render() {
return <ReactModal id="id-modal"
modalContent="React Modal Pluging Example 😄 !"
isModalOpened={true}
onClose={() => {console.log('Close Modal')}}/>
}
}
License
MIT © Oumaima MEDDAH