Interface: ViewMetadata
Documentation / @xmachines/play-actor / ViewMetadata
Defined in: packages/play-actor/src/abstract-actor.ts:87
View metadata for rendering
Describes the component to be rendered and the props to pass to it. Used by PlayRenderer to dynamically render UI based on actor state.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
component | string | Name of the component to render from the catalog | packages/play-actor/src/abstract-actor.ts:89 |
props | Record<string, unknown> | Props to pass to the component | packages/play-actor/src/abstract-actor.ts:91 |