RatingIconState
Per-icon state handed to an icon / emptyIcon render function.
Properties
Section titled “Properties”active
Section titled “active”active: boolean;A hover or keyboard preview currently covers this icon.
empty: boolean;fill <= 0
fill: number;Fill ratio for this icon, 0..1.
filled
Section titled “filled”filled: boolean;fill >= 1
index: number;0-based position in the row.
partial
Section titled “partial”partial: boolean;0 < fill < 1