T
InputRowProps
Props for InputRow.
type InputRowProps = { … }Members
disabled?
booleanDraws the input greyed out and ignores typing.
The keyboard the input opens; default when omitted.
label
stringThe input's label.
maxLength?
numberThe most characters the input takes.
onChange
(text: string) => voidCalled with the typed text when editing ends and validate accepts it.
placeholder?
stringText shown while the input is empty.
subLabel?
stringText shown under the input; none when omitted.
validate?
(text: string) => string | undefinedReturns why the typed text cannot be saved, or undefined when it can.
value
stringThe saved text; the input follows it whenever it changes.
text is one line, multiline grows with its text, secret hides what is typed.