Anchorage API reference
Documentation
GitHub
Preparing search index...
@proofoftech/flowsafe/approval-ui
TextFieldProps
Interface TextFieldProps
interface
TextFieldProps
{
disabled
?:
boolean
;
label
:
string
;
onChange
:
(
value
:
string
)
=>
void
;
onSubmit
?:
()
=>
void
;
placeholder
?:
string
;
rows
?:
number
;
value
:
string
;
}
Index
Properties
disabled?
label
on
Change
on
Submit?
placeholder?
rows?
value
Properties
Optional
disabled
disabled
?:
boolean
label
label
:
string
on
Change
onChange
:
(
value
:
string
)
=>
void
Optional
on
Submit
onSubmit
?:
()
=>
void
Fires on Enter for single-line inputs.
Optional
placeholder
placeholder
?:
string
Optional
rows
rows
?:
number
Renders a multiline control (textarea) when set.
value
value
:
string
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
disabled
label
on
Change
on
Submit
placeholder
rows
value
Documentation
GitHub
Anchorage API reference
Loading...
Fires on Enter for single-line inputs.