Skip to content

API Reference / @gtkx/react / ObjectProp

Type Alias: ObjectProp<T>

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

Defined in: react/dist/utils/object-prop.d.ts:6

An object accepted by the GObject-aware hooks: a GObject, a ref to one, or a nullish value.

Type Parameters

T

T extends GObject.Object

Released under the MPL-2.0 License.