mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
[muibox] "placeholder" property (#45232)
* Update index.d.ts * Update muibox-tests.ts
This commit is contained in:
parent
f25da746d2
commit
5644149105
1
types/muibox/index.d.ts
vendored
1
types/muibox/index.d.ts
vendored
@ -36,4 +36,5 @@ export interface ConfirmOptions extends AlertOptions {
|
||||
export interface PromptOptions extends ConfirmOptions {
|
||||
required?: boolean;
|
||||
defaultValue?: string | number;
|
||||
placeholder?: string;
|
||||
}
|
||||
|
||||
@ -31,6 +31,7 @@ dialog
|
||||
.prompt({
|
||||
message: "What is your name?",
|
||||
title: "Salutation",
|
||||
placeholder: "Name",
|
||||
ok: { text: "Proceed" },
|
||||
cancel: { text: "Quit" },
|
||||
defaultValue: "Joe",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user