⚠️ @prestojs/ui is a legacy package

It is maintained for existing projects but should not be used for new projects. New projects should use @alliancesoftware/ui instead — see the formatting values guide.

InputPropsTypescript Type

Source
import type { InputProps } from "@prestojs/ui";
InputProps<FieldValueT,ElementT>

API

Methods

onBlur(?event)
Source

Arguments:

ArgumentTypeDescription
eventReact.FocusEvent
Returns:void
onChange(event)
Source

Arguments:

ArgumentTypeDescription
*eventany
Returns:void
onFocus(?event)
Source

Arguments:

ArgumentTypeDescription
eventReact.FocusEvent
Returns:void

Properties

checked

Source
boolean

name

Source
string

value

Source
FieldValueT