ChoiceLeadingContent
Leading content for Choice: Icon, Payment Logo, or Image
All choice sizes supports leading content. Please note that payment logo will use the small variant in the small size choice, and medium variant in the medium and large size choices.
Inheritors
Types
Link copied to clipboard
data class Icon(@DrawableRes val resource: Int, val contentDescription: String? = null, val alignment: ChoiceContentAlignment = ChoiceContentAlignment.Center) : ChoiceLeadingContent
Link copied to clipboard
data class Image(val painter: Painter, val contentDescription: String?, val alignment: ChoiceContentAlignment = ChoiceContentAlignment.Center) : ChoiceLeadingContent
Link copied to clipboard
Link copied to clipboard
data class PaymentLogo(val painter: Painter, val contentDescription: String? = null, val alignment: ChoiceContentAlignment = ChoiceContentAlignment.Center) : ChoiceLeadingContent