Components/Rating
Rating
Star rating control for collecting or displaying a score.
Installation
npx ajaxui add ratingSizes
States
Props
| Prop | Type | Default |
|---|---|---|
| value | number | — |
| defaultValue | number | 0 |
| onChange | (value: number) => void | — |
| max | number | 5 |
| size | "sm" | "md" | "lg" | "md" |
| readOnly | boolean | false |
| disabled | boolean | false |
| label | string | — |