Package-level declarations

Types

Link copied to clipboard
sealed interface KPPriceStyle
Link copied to clipboard
data class PriceModel(val icon: ImageVector? = null, val iconSize: IconSize = KPIconSize.XXSmall, val iconTint: Color? = null, val upperInfoText: String? = null, val upperInfoTextStyle: TextStyle? = null, val salePriceText: String? = null, val salePriceTextStyle: TextStyle? = null, val marketPriceText: String? = null, val marketPriceTextStyle: TextStyle? = null, val bottomInfoText: String? = null, val bottomInfoTextStyle: TextStyle? = null, val isPriceViewVertical: Boolean = false)
Link copied to clipboard

Functions

Link copied to clipboard
fun KPPrice(style: PriceStyle, modifier: Modifier = Modifier)

Composable function for vertical price custom view This function includes sale price, market price, bottom info like unit price and upper info like campaign text. It allows you to draw a custom price view by choosing the style that suits your design.