API Reference / @gtkx/codegen / BuiltinElements
Type Alias: BuiltinElements
BuiltinElements =
object
Defined in: packages/codegen/src/react/element-config.ts:6
The framework's built-in element config, split into the maps codegen consumes.
Properties
components
components:
Record<string,ModuleExport>
Defined in: packages/codegen/src/react/element-config.ts:8
Component wrappers keyed by GLib type name; an element without one inherits its nearest ancestor's.
lazyElements
lazyElements:
string[]
Defined in: packages/codegen/src/react/element-config.ts:10
GLib type names with no GObject of their own, exported as elements that drop their construct-only props.
omittedProps
omittedProps:
OmittedProps
Defined in: packages/codegen/src/react/element-config.ts:14
Props left out of the generated element props, keyed by GLib type name.
props
props:
Record<string,ElementPropsExport>
Defined in: packages/codegen/src/react/element-config.ts:12
Base props interfaces the generated element props extend, keyed by GLib type name.