label | string | - | Text above the stars. |
| Text above the stars. |
max | number | 5 | |
|
icons | RatingIcon[] | - | |
|
defaultValue | number | - | |
|
value | number | - | Controlled rating. |
| Controlled rating. |
onValueChange | (value: number) => void | - | |
|
emptyHint | string | Click to rate | |
|
score | string | - | A figure beside the marks rather than under them: an average, where the marks round it. |
| A figure beside the marks rather than under them: an average, where the marks round it. |
hint | string | - | |
|
children | ReactNode | - | Extra content below the hint text, like a feedback field. |
| Extra content below the hint text, like a feedback field. |
disabled | boolean | false | Blocks interaction and dims the stars. |
| Blocks interaction and dims the stars. |
readOnly | boolean | false | |
|
animated | boolean | true | |
|
className | string | - | |
|
focus | boolean | string | true | |
|