RatingSize

enum class RatingSize : Enum<RatingSize>

Rating size specification with circle size, star icon size and spacing. These values correspond to exact design specifications from Figma.

Entries

Link copied to clipboard

18dp circles with 12dp star icons and 1dp gap - for Fronts context.

Link copied to clipboard

22dp circles with 14dp star icons and 2dp gap - for Fronts context.

Link copied to clipboard

28dp circles with 18dp star icons and 2dp gap - for Articles context.

Companion properties

Link copied to clipboard

Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.

Companion functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard

The circle background size in dp.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val spacing: Dp

The spacing between stars in dp.

Link copied to clipboard

The star icon size in dp.