OptionalautoComplete?: stringOptionalautoFocus?: booleanWhether the input has automatic focus or not.
Optionalchange?: (value: string, event: ChangeEvent<HTMLElement>) => voidChange event.
OptionalclassName?: stringOptionalclick?: MouseEventHandler<HTMLElement>Optionalcolumns?: numberFor multiline inputs, indicates the number of columns.
OptionalcontextMenu?: MouseEventHandler<HTMLElement>Optionaldefault?: stringDefault value.
Optionaldisabled?: booleanWhether disabled or not.
Optionalemail?: booleanIndicates whether the input is an e-mail field.
Optionalfocus?: FocusEventHandler<HTMLElement>Optionalicon?: stringIcon (only effects if input is a single line).
If the search option is true, then the default icon
is the search icon.
Optionalid?: stringOptionalmaxHeight?: numberOptionalmaxWidth?: numberOptionalminHeight?: numberOptionalminWidth?: numberOptionalmouseOut?: MouseEventHandler<HTMLElement>OptionalmouseOver?: MouseEventHandler<HTMLElement>OptionalmouseUp?: MouseEventHandler<HTMLElement>Optionalmultiline?: booleanWhether the input is multiline or not.
Optionalnumber?: booleanIndicates whether the input is a number field.
Optionalpassword?: booleanIndicates whether the input is a password field.
Optionalplaceholder?: stringPlaceholder text.
Optionalref?: Ref<HTMLInputElement | HTMLTextAreaElement | null>Optionalrows?: numberFor multiline inputs, indicates the number of rows.
Optionalscroll?: UIEventHandler<HTMLElement>Optionalsearch?: booleanIndicates whether the input is a search field.
Optionalstyle?: CSSPropertiesOptionaltelephone?: booleanIndicates whether the input is a telephone field.
Optionalwheel?: WheelEventHandler<HTMLElement>
A text input, either single-line or multi-line.