dtkt.protoui.v1beta1protoui.protoText
MessageRender as styled text with color options.
Maps to Text in @dtkt/ui/text
Supports text, CEL expressions, and templates for generating content.
The message or field is available as this in expression/template context.
Example expr: this.message or "Updated: " + string(this.updated_at)
| Field | Type | Number | Description |
|---|---|---|---|
| content | Data dtkt.protoui.v1beta1.Data | 1 | The text content. Can be plain text, a CEL expression, or a template.
Context: |
| color | Color dtkt.protoui.v1beta1.Text.Color | 2 | No description. |