Skip to content

API Reference / @gtkx/react / index / RootElement

Type Alias: RootElement ​

RootElement = object

Defined in: packages/react/src/reconciler/root-element.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: packages/react/src/reconciler/root-element.ts:4

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