stubbed in modal dialog

This commit is contained in:
Danny Coates 2018-09-07 10:53:40 -07:00
parent 20528eb0d1
commit cdc15596df
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
11 changed files with 100 additions and 24 deletions

View file

@ -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>`;
};
};