SearchRatingsComposable

fun SearchRatingsComposable(ratingCount: Int, colors: SearchRatingComposableColors = SearchRatingComposableDefaults.colors(), styles: SearchRatingComposableStyles = SearchRatingComposableDefaults.styles)

Composable function that displays the number of ratings in a formatted text.

This component shows the ratings with proper pluralization and formatting (e.g., "125 ratings", "1 rating"). It uses provided theming resources for consistent styling across the application.

Parameters

ratingCount

The total number of ratings to display.

colors

The color configuration for the ratings text.

styles

The styles configuration for the ratings text.