TokenReference

data class TokenReference(val value: String) : FormStyleConfig

A reference to a design token to use to bind the form's style properties to an existing theme.

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard

Casts this FormStyleConfig as a TokenReference and retrieves its kotlin.String value. Throws an exception if the FormStyleConfig is not a TokenReference.

Link copied to clipboard

Casts this FormStyleConfig as a TokenReference and retrieves its kotlin.String value. Returns null if the FormStyleConfig is not a TokenReference.

Link copied to clipboard

Casts this FormStyleConfig as a Value and retrieves its kotlin.String value. Throws an exception if the FormStyleConfig is not a Value.

Link copied to clipboard

Casts this FormStyleConfig as a Value and retrieves its kotlin.String value. Returns null if the FormStyleConfig is not a Value.