Package-level declarations
Types
Link copied to clipboard
A sealed interface defining the styling options for the KPRatingBar
composable function specific to Komposto's design system.
Link copied to clipboard
interface RatingBarSize
An interface defining the styling options for the KPRatingBar composable function.
Functions
Link copied to clipboard
fun KPRatingBar(rating: Float, size: RatingBarSize, modifier: Modifier = Modifier, itemCount: Int = 5, reviewCount: String? = null, showRating: Boolean = false, showCameraIcon: Boolean = false, itemSize: Dp = size.starIconSize, spaceBetween: Dp = 2.dp, icon: ImageVector = KPIcons.Fill.Star, filledColor: Color = KPDesign.colors.colorStar, emptyColor: Color = KPDesign.colors.colorBorder, onRatingClick: (rate: Int) -> Unit? = null)
A composable function that renders a rating bar with customizable styles and parameters.