@hmiproject/helio-sdk
Preparing search index...
TextInput
Function TextInput
TextInput
(
props
:
{
autoFocus
?:
boolean
;
defaultValue
?:
string
;
disabled
?:
boolean
;
invalid
?:
boolean
;
leftItems
?:
ReactNode
;
placeholder
?:
string
;
readOnly
?:
boolean
;
rightItems
?:
ReactNode
;
style
?:
CSSProperties
;
type
?:
HTMLInputTypeAttribute
;
value
?:
string
;
onBlur
?
(
event
:
FocusEvent
)
:
void
;
onChange
(
nextValue
:
string
)
:
void
;
onFocus
?
(
event
:
FocusEvent
)
:
void
;
}
,
)
:
Element
Component that displays a text input field using the currently active HELIO theme.
Parameters
props
:
{
autoFocus
?:
boolean
;
defaultValue
?:
string
;
disabled
?:
boolean
;
invalid
?:
boolean
;
leftItems
?:
ReactNode
;
placeholder
?:
string
;
readOnly
?:
boolean
;
rightItems
?:
ReactNode
;
style
?:
CSSProperties
;
type
?:
HTMLInputTypeAttribute
;
value
?:
string
;
onBlur
?
(
event
:
FocusEvent
)
:
void
;
onChange
(
nextValue
:
string
)
:
void
;
onFocus
?
(
event
:
FocusEvent
)
:
void
;
}
Returns
Element
Since
1.0.0
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@hmiproject/helio-sdk
Loading...
Component that displays a text input field using the currently active HELIO theme.