added survey dialog. closes #1307
This commit is contained in:
parent
ce4157ac08
commit
20b9279eec
14 changed files with 113 additions and 32 deletions
|
@ -2,7 +2,7 @@ const html = require('choo/html');
|
|||
const { copyToClipboard } = require('../utils');
|
||||
|
||||
module.exports = function(name, url) {
|
||||
return function(state, emit, close) {
|
||||
const dialog = function(state, emit, close) {
|
||||
return html`
|
||||
<send-copy-dialog
|
||||
class="flex flex-col items-center text-center p-4 max-w-sm m-auto"
|
||||
|
@ -45,4 +45,6 @@ module.exports = function(name, url) {
|
|||
setTimeout(close, 1000);
|
||||
}
|
||||
};
|
||||
dialog.type = 'copy';
|
||||
return dialog;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue