Documentation - v0.0.19
Examples
Github
Preparing search index...
@ak2021/react-ui
IInputProps
Interface IInputProps
interface
IInputProps
{
className
?:
string
;
defaultValue
?:
string
;
disabled
?:
boolean
;
maxLength
?:
number
;
onBlur
?:
FocusEventHandler
<
HTMLInputElement
>
;
onChange
?:
ChangeEventHandler
<
HTMLInputElement
>
;
onFocus
?:
FocusEventHandler
<
HTMLInputElement
>
;
onKeyDown
?:
KeyboardEventHandler
<
HTMLInputElement
>
;
onPressEnter
?:
KeyboardEventHandler
<
HTMLInputElement
>
;
placeholder
?:
string
;
size
?:
"small"
|
"middle"
|
"large"
;
style
?:
CSSProperties
;
type
?:
"number"
|
"search"
|
"url"
|
"text"
|
"email"
|
"tel"
|
"password"
;
value
?:
string
;
}
Index
Properties
class
Name?
default
Value?
disabled?
max
Length?
on
Blur?
on
Change?
on
Focus?
on
Key
Down?
on
Press
Enter?
placeholder?
size?
style?
type?
value?
Properties
Optional
class
Name
className
?:
string
Optional
default
Value
defaultValue
?:
string
Optional
disabled
disabled
?:
boolean
Optional
max
Length
maxLength
?:
number
Max character length
Optional
on
Blur
onBlur
?:
FocusEventHandler
<
HTMLInputElement
>
Optional
on
Change
onChange
?:
ChangeEventHandler
<
HTMLInputElement
>
Optional
on
Focus
onFocus
?:
FocusEventHandler
<
HTMLInputElement
>
Optional
on
Key
Down
onKeyDown
?:
KeyboardEventHandler
<
HTMLInputElement
>
Optional
on
Press
Enter
onPressEnter
?:
KeyboardEventHandler
<
HTMLInputElement
>
Optional
placeholder
placeholder
?:
string
Optional
size
size
?:
"small"
|
"middle"
|
"large"
Visual size of the input
Optional
style
style
?:
CSSProperties
Optional
type
type
?:
"number"
|
"search"
|
"url"
|
"text"
|
"email"
|
"tel"
|
"password"
Input type attribute
Optional
value
value
?:
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
class
Name
default
Value
disabled
max
Length
on
Blur
on
Change
on
Focus
on
Key
Down
on
Press
Enter
placeholder
size
style
type
value
Examples
Github
Documentation - v0.0.19
Loading...
Max character length