This commit is contained in:
syuilo 2018-03-07 18:55:02 +09:00
parent 0bca0e8a02
commit 7f0b9d933d
5 changed files with 29 additions and 2 deletions

View file

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