[muibox] "placeholder" property (#45232)

* Update index.d.ts

* Update muibox-tests.ts
This commit is contained in:
David D 2020-07-06 08:48:45 +02:00 committed by GitHub
parent f25da746d2
commit 5644149105
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -36,4 +36,5 @@ export interface ConfirmOptions extends AlertOptions {
export interface PromptOptions extends ConfirmOptions {
required?: boolean;
defaultValue?: string | number;
placeholder?: string;
}

View File

@ -31,6 +31,7 @@ dialog
.prompt({
message: "What is your name?",
title: "Salutation",
placeholder: "Name",
ok: { text: "Proceed" },
cancel: { text: "Quit" },
defaultValue: "Joe",