mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-22 06:35:10 +01:00
8 lines
211 B
JavaScript
8 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
|
|
});
|
|
};
|