import type { FormFieldProps } from "../FormField"; import type { FocusEvents, HTMLInputBaseProps, KeyboardEvents, MouseEvents, RebuiltInputCommonProps } from "../sharedHelpers/types"; export interface InputEmailProps extends HTMLInputBaseProps, FocusEvents, KeyboardEvents, MouseEvents, Omit { /** * The current value of the input. */ readonly value?: string; /** * Custom onChange handler that provides the new value as the first argument. */ readonly onChange?: (newValue: string, event?: React.ChangeEvent) => void; /** * @deprecated Use `onKeyDown` or `onKeyUp` instead. */ readonly onEnter?: FormFieldProps["onEnter"]; }