string | number | (string | number)[] "caution" | "critical" | "info" | "neutral" | "positive" | "promote" 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: HTMLSpanElement | null) => void | RefObject<HTMLSpanElement>