1.0.4 • Published 6 years ago

react-flexpopup v1.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

react-popup

사용방법 How to use

  1. import react-popup `import Popup from 'react-flexpopup';

  2. use it

<Popup bool={true}>
    <h3>가나다</h3>
    <p>dddsdss</p>
</Popup>
  1. option
<Popup 
    bool={this.state.testPopup} 
    title="popup title" 
    button={{'positive': {'text': 'YES', 'callback': function(){alert('close popup')}}, 'negative': {'text': 'NO', 'callback': function(){alert('close popup too')}}}}
>
    <h3>가나다</h3>
    <p>dddsdss</p>
</Popup>

jsfiddle's demo

AUTHOR

uiwwnw <uiwwnw@icloud.com>

LICENSE

MIT