Skip to content

Latest commit

 

History

History
executable file
·
26 lines (18 loc) · 910 Bytes

File metadata and controls

executable file
·
26 lines (18 loc) · 910 Bytes

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