Rating API
Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.
Rating4 props1 callbacks0 methods
Props4
| Name | Type | Description |
|---|---|---|
valueRequired | number | Value to display or edit. The declared type identifies the supported representation; change callbacks describe how edited values are emitted. |
maxOptional | number | undefined | Maximum permitted value or upper bound for the control. |
labelRequired | string | Label content or accessible name for the component, as rendered by this control. |
disabledOptional | boolean | undefined | Disables user interaction with the control. |
Events and callbacks1
| Name | Type | Description |
|---|---|---|
onChangeOptional |
| Receives the new value when the user changes the control. Update the corresponding value prop for controlled use. |
Methods0
No component-specific imperative methods. Use props and callbacks to control this component.