Skip to content

API Reference / @gtkx/react / index / RootElement

Type Alias: RootElement

RootElement = object

Defined in: reconciler/root-element.d.ts:2

The type of the shared rootElement marker used as a default top-level container.

Properties

[ROOT_ELEMENT_BRAND]

[ROOT_ELEMENT_BRAND]: true

Defined in: reconciler/root-element.d.ts:4

Marks a container as the top level rather than a GObject; isRootElement tests for it.

Released under the MPL-2.0 License.