mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-23 19:18:14 +09:00
ac225d4ea6
Closes #12, #227 and #58
9 lines
209 B
JavaScript
9 lines
209 B
JavaScript
import * as riot from 'riot';
|
|
|
|
export default message => {
|
|
const notification = document.body.appendChild(document.createElement('mk-ui-notification'));
|
|
riot.mount(notification, {
|
|
message: message
|
|
});
|
|
};
|