ComponentsRating group
Rating Group
The RatingGroup allows a user to add and remove ratings for an item.
The RatingGroup allows a user to add and remove ratings for an item.
Prop | Type | Default |
---|---|---|
allowHalf | boolean | |
asChild | boolean | |
autoFocus | boolean | |
defaultValue | number | |
dir | 'ltr' | 'rtl' | |
disabled | boolean | |
form | string | |
getRootNode | () => ShadowRoot | Node | Document | |
id | string | |
ids | Partial<{
root: string
label: string
hiddenInput: string
control: string
rating(id: string): string
}> | |
max | number | |
name | string | |
onHoverChange | (details: HoverChangeDetails) => void | |
onValueChange | (details: ValueChangeDetails) => void | |
readOnly | boolean | |
translations | IntlTranslations | |
value | number |
Prop | Type | Default |
---|---|---|
index | number | |
asChild | boolean |
Prop | Type | Default |
---|---|---|
asChild | boolean |
Prop | Type | Default |
---|---|---|
asChild | boolean |