mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-16 15:48:23 +09:00
9 lines
218 B
TypeScript
9 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
|
|
});
|
|
};
|