IconElement

@Serializable
@SerialName(value = "icon")
data class IconElement(val symbol: Symbol, val sentiment: Sentiment = Sentiment.Nominal, val sizing: IconSizing = IconSizing.Medium) : UiElement.Static

A vector icon for signifying a noun or action.

Constructors

Link copied to clipboard
constructor(symbol: Symbol, sentiment: Sentiment = Sentiment.Nominal, sizing: IconSizing = IconSizing.Medium)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
inline fun <T : UiElement> UiElement.renderWithType(block: T.() -> Unit): RenderResult