(event: FormEvent<HTMLInputElement>) => void "critical" | "neutral" | "positive" string | number | readonly string[] ref
Allows getting a ref to the component instance.
Once the component unmounts, React will set `ref.current` to `null`
(or call the ref with `null` if you passed a callback ref). string | (instance: HTMLInputElement | null) => void | RefObject<HTMLInputElement>