Price

data class Price(val price: @Composable () -> Unit, val alignment: ChoiceContentAlignment = Center) : ChoiceTrailingContent

Price trailing content for Choice.

Constructors

Link copied to clipboard
constructor(price: @Composable () -> Unit, alignment: ChoiceContentAlignment = Center)

Properties

Link copied to clipboard

Alignment of the trailing content. Default is ChoiceContentAlignment.Center.

Link copied to clipboard
val price: @Composable () -> Unit

Composable function to be displayed as price. Use Skapa Price component to format the price.