CardAddon

sealed class CardAddon

The add-on container on top of the title supports Icon, CommercialMessage and Badge. Please note that only one add-on can be made visible.

Inheritors

Types

Link copied to clipboard
data class Badge(val variant: BadgeVariant, val color: BadgeColor) : CardAddon

The Badge container for the Card.

Link copied to clipboard
data class CommercialMessage(val message: String, val type: CommercialMessageType) : CardAddon

The CommercialMessage container for the Card.

Link copied to clipboard
data class Icon(val icon: Int) : CardAddon

The Icon container for the Card.

Link copied to clipboard
data object None : CardAddon

The None container for the Card. This will display no add-on.