45e8331e26
Closes #12, #227 and #58
8 lines
209 B
JavaScript
8 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
|
|
});
|
|
};
|