Skip to content

@serenity-is/domwise / Ref

Type Alias: Ref<T>

Ref<T> = RefCallback<T> | RefObject<T> | null

Defined in: types/basic-types.d.ts:69

A reference to a DOM node or component instance: either a RefObject, a ref callback, or null.

Type Parameters

T

T

The type of the referenced value.