mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-18 07:57:38 -07:00
8 lines
218 B
TypeScript
8 lines
218 B
TypeScript
import * as riot from 'riot';
|
|
|
|
export default message => {
|
|
const notification = document.body.appendChild(document.createElement('mk-ui-notification'));
|
|
(riot as any).mount(notification, {
|
|
message: message
|
|
});
|
|
};
|