RatingSimple

fun RatingSimple(@FloatRange(from = 0.0, to = 5.0) value: Float, modifier: Modifier = Modifier, commentCount: Int? = null, locale: Locale = firstLocale(), labelSide: RatingLabelSide = RatingDefault.LabelSide)

Component that displays a compressed version of user rating

Parameters

value

the rating value included between 1..5

modifier

to be applied to this rating

commentCount

number of collected ratings

locale

the locale to use to format the rating value

labelSide

the side of the label