PriceCompact
fun PriceCompact(price: String, type: PriceCompactType, modifier: Modifier = Modifier, alignment: PriceAlignment = PriceAlignment.LEFT, prefix: String? = null, footerContent: @Composable ColumnScope.() -> Unit? = null)
A Compact version of the lidl.brand.ods.core.price.Price component supporting similar types.
Left-aligned PriceCompactTypes

Right-aligned PriceCompactTypes

Parameters
price
String for the price. Please include the currency.
type
PriceCompactType to configure the type of price.
modifier
optional Modifier to be applied to the PriceCompact. Defaults to Modifier.
alignment
optional PriceAlignment to align the price. Defaults to PriceAlignment.LEFT.
prefix
optional String for the price prefix. Defaults to null.
footerContent
optional content for the footer of the price, like DoubleCurrency, FooterText, or FooterLinkText.