Skip to main content
Version: Next

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

components/input/input.tsx:23


defaultValue

Optional defaultValue: string

Overrides

Omit.defaultValue

Defined in

components/input/input.tsx:22


disabled

Optional disabled: boolean

Overrides

Omit.disabled

Defined in

components/input/input.tsx:13


onPressEnter

Optional onPressEnter: KeyboardEventHandler<HTMLInputElement>

Defined in

components/input/input.tsx:24


placeholder

Optional placeholder: string

Overrides

Omit.placeholder

Defined in

components/input/input.tsx:19


size

Optional size: SizeType

Defined in

components/input/input.tsx:14


style

Optional style: CSSProperties

Overrides

Omit.style

Defined in

components/input/input.tsx:21


type

Optional type: LiteralUnion<"button" | "search" | "text" | "checkbox" | "submit", string>

Overrides

Omit.type

Defined in

components/input/input.tsx:15


value

Optional value: string

Overrides

Omit.value

Defined in

components/input/input.tsx:20

Methods

onChange

Optional onChange(e): void

Parameters

NameType
eChangeEvent<HTMLTextAreaElement | HTMLInputElement>

Returns

void

Defined in

components/input/input.tsx:26


onKeyDown

Optional onKeyDown(e): void

Parameters

NameType
eKeyboardEvent<HTMLInputElement>

Returns

void

Defined in

components/input/input.tsx:25