wip
This commit is contained in:
parent
0bca0e8a02
commit
7f0b9d933d
5 changed files with 29 additions and 2 deletions
|
|
@ -1,5 +1,8 @@
|
|||
export default function(opts) {
|
||||
return new Promise<string>((res, rej) => {
|
||||
alert('input not implemented yet');
|
||||
const x = window.prompt(opts.title);
|
||||
if (x) {
|
||||
res(x);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue