README
smv modal
use modal with no tear π
Get Start
Installation
npm i --save smv-modal
Basic Usage
try it out
import Modal from 'smv-modal';
const modal = Modal({
title: 'Welcome',
content: 'hallo world~'
});
async showModal() {
const result = await modal.show(); // modal.show() return promise
console.log(result);
}
showModal();
Please see Documentation for more usage.
Contributors
Thanks goes to these wonderful people (emoji key):
hwencc π» π€ π‘ π |
---|
This project follows the all-contributors specification. Contributions of any kind welcome!