Skip to content

API Reference / @gtkx/react / RefProp

Type Alias: RefProp<T>

RefProp<T> = T | RefObject<T | null> | null | undefined

Defined in: utils/ref-prop.d.ts:6

A way to reach a GObject: the object itself, a ref object whose current is the object or null, or null or undefined when the target is absent.

Type Parameters

T

T extends object

Released under the MPL-2.0 License.