IRatingElementRenderProps
@spartanfx/react / IRatingElementRenderProps
Interface: IRatingElementRenderProps
Props passed to custom render functions for rating elements
Properties
| Property | Type | Description |
|---|---|---|
appearanceMode | AppearanceMode | Current appearance mode (light/dark) |
fillColor | string | Fill color for the element |
index | number | Zero-based index of the element |
isHovered | boolean | Whether this element is currently hovered |
outlineColor | string | Outline/empty color for the element |
size | RatingSize | Size preset of the rating |
state | RatingElementState | Current visual state of the element |