Skip to main content

Input

A simple component for inputting text.

Anchor to disabled
disabled
boolean

Whether the input is disabled

Anchor to innerRef
innerRef
React.Ref<HTMLInputElement>

Ref to the input element (use instead of ref)

Anchor to onChange
onChange
React.ChangeEventHandler<HTMLInputElement>

Change handler

Anchor to placeholder
placeholder
string

Placeholder text

string

Input type (text, email, password, etc.)

Anchor to value
value
string

Current value


Was this page helpful?