Text

data class Text(val content: String, val key: String? = null) : Element

Represents a simple text element.

Constructors

Link copied to clipboard
constructor(content: String, key: String? = null)

Properties

Link copied to clipboard

The text content to display

Link copied to clipboard
open override val key: String? = null

Optional key for this element