RefCallback

type RefCallback<T> = (instance: T | null) => void | (() => void);

§Type Parameters

§Type

§
(instance: T | null) => void | (() => void)
[src]