MCPcopy Create free account
hub / github.com/astercloud/aster / createTextComponent

Function createTextComponent

ui/src/__tests__/protocol/streaming-state.spec.ts:55–60  ·  view source on GitHub ↗

* Generate Text component definition

(id: string, text: string)

Source from the content-addressed store, hash-verified

53 * Generate Text component definition
54 */
55function createTextComponent(id: string, text: string): ComponentDefinition {
56 return {
57 id,
58 component: { Text: { text: { literalString: text } } },
59 };
60}
61
62/**
63 * Generate Column component with children

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected