1.0.3 • Published 12 months ago

oum-react-modal v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

oum-react-modal

A simple & lightweight method of displaying modal windows with React and published.

NPM JavaScript Style Guide

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

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago