Interface: IInputProps
molecule.component.IInputProps
Hierarchy
Omit<React.InputHTMLAttributes<HTMLInputElement>,"size"|"onChange"|"onKeyDown"|"onPressEnter">↳
IInputProps
Properties
className
• Optional className: string
Overrides
Omit.className
Defined in
defaultValue
• Optional defaultValue: string
Overrides
Omit.defaultValue
Defined in
disabled
• Optional disabled: boolean
Overrides
Omit.disabled
Defined in
onPressEnter
• Optional onPressEnter: KeyboardEventHandler<HTMLInputElement>
Defined in
placeholder
• Optional placeholder: string
Overrides
Omit.placeholder
Defined in
size
• Optional size: SizeType
Defined in
style
• Optional style: CSSProperties
Overrides
Omit.style
Defined in
type
• Optional type: LiteralUnion<"button" | "search" | "text" | "checkbox" | "submit", string>
Overrides
Omit.type
Defined in
value
• Optional value: string
Overrides
Omit.value
Defined in
Methods
onChange
▸ Optional onChange(e): void
Parameters
| Name | Type |
|---|---|
e | ChangeEvent<HTMLTextAreaElement | HTMLInputElement> |
Returns
void
Defined in
onKeyDown
▸ Optional onKeyDown(e): void
Parameters
| Name | Type |
|---|---|
e | KeyboardEvent<HTMLInputElement> |
Returns
void