mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-18 07:57:38 -07: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
|
||
|
});
|
||
|
};
|