StyleItem

interface StyleItem<T>

Part of a Style that can apply an attribute to an underlying Component, e.g. width or click handling.

Properties

Link copied to clipboard
abstract val field: StyleItemField
Link copied to clipboard
abstract val value: T

Functions

Link copied to clipboard
open fun applyCommonProps(context: ComponentContext, commonProps: CommonProps)

Sets this style item value on the given CommonProps.