Labelled single-line text input for use inside a Dialog body — the
replacement for the value half of a native prompt(). Controlled: renders
value and reports edits through onChange.
label is the caption rendered above the input. mono (default false)
renders the input in the monospace font, for code-like values such as
route paths or upstream URLs. autoFocus (default false) focuses the
input when it mounts, for the dialog's primary field.
Labelled single-line text input for use inside a Dialog body — the replacement for the value half of a native prompt(). Controlled: renders
valueand reports edits throughonChange.labelis the caption rendered above the input.mono(default false) renders the input in the monospace font, for code-like values such as route paths or upstream URLs.autoFocus(default false) focuses the input when it mounts, for the dialog's primary field.