react-simplified-modal

0.1.7 • Public • Published

react-simplified-modal

npm npm GitHub issues GitHub pull requests HitCount

Import the modal.

import Modal from 'react-simplified-modal';

Usage

 <Modal open={this.state.open} onCloseClicked={this.toggleState} onBackDropClicked={this.toggleState}><h1>Hellox</h1></Modal>

## Props

open : boolean

onCloseClicked : callback function called on cross clicked

onBackDropClicked : callback function called on backdrop clicked

Package Sidebar

Install

npm i react-simplified-modal

Weekly Downloads

2

Version

0.1.7

License

none

Unpacked Size

4.76 kB

Total Files

5

Last publish

Collaborators

  • amitchambial