mirror of
https://github.com/timvisee/send.git
synced 2026-04-24 22:44:34 -04:00
stubbed in modal dialog
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
const html = require('choo/html');
|
||||
|
||||
module.exports = function(message) {
|
||||
return function(state, close) {
|
||||
return html`
|
||||
<div class="okDialog">
|
||||
<div class="okDialog__message">${message}</div>
|
||||
<button class="btn" onclick=${close}>${state.translate(
|
||||
'okButton'
|
||||
)}</button>
|
||||
</div>`;
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user