API reference
@salmonui/inputs/rating
5 exported symbols: 1 component, 1 interface and 3 types. Each name links its page with the signature, docs and members.
import { … } from '@salmonui/inputs/rating';Components
RatingRating: one native radio per step (two per item with precision="half") named by localeText.item, inside a <fieldset role="radiogroup"> named by label. Arrow ke…
Interfaces
Types
RatingChangeDetailsSecond argument of onValueChange: 'select' (click, arrow keys), 'clear' (clear button) or 'reset' (form reset).RatingItemStateFill state of one item.RatingLocaleTextUser-visible strings. item names each radio and the read-only image ({0} value, {1} count; default '{0} of {1} stars'); clear names the clear button.