mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-17 16:18:27 +09:00
9 lines
211 B
JavaScript
9 lines
211 B
JavaScript
|
const riot = require('riot');
|
||
|
|
||
|
module.exports = message => {
|
||
|
const notification = document.body.appendChild(document.createElement('mk-ui-notification'));
|
||
|
riot.mount(notification, {
|
||
|
message: message
|
||
|
});
|
||
|
};
|