Skip to content

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

PropertyTypeDescriptionDefined in
componentstringName of the component to render from the catalogpackages/play-actor/src/abstract-actor.ts:89
propsRecord<string, unknown>Props to pass to the componentpackages/play-actor/src/abstract-actor.ts:91