KPRatingBarSize

sealed interface KPRatingBarSize : RatingBarSize

A sealed interface defining the styling options for the KPRatingBar composable function specific to Komposto's design system.

KPRatingBarSize implements the RatingBarSize interface and offers predefined styles (Small and Medium) according to Komposto's design guidelines.

Inheritors

Types

Link copied to clipboard
data object Medium : KPRatingBarSize
Link copied to clipboard
data object Small : KPRatingBarSize

Properties

Link copied to clipboard
abstract val cameraIconSize: DpSize

The size of the camera icon, if displayed, defined as a DpSize.

Link copied to clipboard
abstract val starIconSize: Dp

The size of each star icon in the rating bar.

Link copied to clipboard
abstract val textSize: TextStyle

The text style to be applied to the rating value and review count text.