Input
A simple component for inputting text.
Anchor to propsProps
- Anchor to disableddisableddisabledbooleanboolean
Whether the input is disabled
- Anchor to innerRefinnerRefinnerRefReact.Ref<HTMLInputElement>React.Ref<HTMLInputElement>
Ref to the input element (use instead of ref)
- Anchor to onChangeonChangeonChangeReact.ChangeEventHandler<HTMLInputElement>React.ChangeEventHandler<HTMLInputElement>
Change handler
- Anchor to placeholderplaceholderplaceholderstringstring
Placeholder text
- Anchor to typetypetypestringstring
Input type (text, email, password, etc.)
- Anchor to valuevaluevaluestringstring
Current value
Was this page helpful?