1.0.4 • Published 6 years ago
react-flexpopup v1.0.4
react-popup
사용방법 How to use
import react-popup `import Popup from 'react-flexpopup';
use it
<Popup bool={true}>
<h3>가나다</h3>
<p>dddsdss</p>
</Popup>
- 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>
AUTHOR
uiwwnw <uiwwnw@icloud.com>