Skip to main content

Interface: UseInputFieldProps#

Represent the props to attach to the input field.

Properties#

onBlur#

onBlur: (event: FocusEvent<Element>) => void

Event handler for the blur event.

Type declaration:#

▸ (event: FocusEvent<Element>): void

Parameters:#

NameType
eventFocusEvent<Element>

Returns: void


onChange#

onChange: (event: ChangeEvent<HTMLInputElement>) => void

Event handler for the change event.

Type declaration:#

▸ (event: ChangeEvent<HTMLInputElement>): void

Parameters:#

NameType
eventChangeEvent<HTMLInputElement>

Returns: void


onFocus#

onFocus: (event: FocusEvent<Element>) => void

Event handler for the focus event.

Type declaration:#

▸ (event: FocusEvent<Element>): void

Parameters:#

NameType
eventFocusEvent<Element>

Returns: void


value#

value: string

The value of the input field