Skip to main content

Module components

Module components 

Source
Expand description

Component Library — Built-in UI Primitives

Defines the core set of React-like components that AppScale supports out of the box. Each component descriptor maps a component name to:

  • a ViewType (what native view to create)
  • default props
  • default layout style
  • supported children mode (leaf vs container)

The host-config (TypeScript side) uses component names like “View”, “Text”, “Image”, etc. The engine resolves them here to determine how to create and configure the native view.

Structs§

ComponentDescriptor
Describes a built-in component.
ComponentRegistry
Registry of all built-in components.

Enums§

ChildrenMode
How a component handles children.