Props
Attributes
- Graph
-
- Supertypes
-
trait PropTypesclass Objecttrait Matchableclass Any
Members list
Type members
Value members
Concrete methods
The component containing the icon.
The component containing the icon.
Attributes
Override or extend the styles applied to the component.
Override or extend the styles applied to the component.
Attributes
The default value. Use when the component is not controlled.
The default value. Use when the component is not controlled.
Attributes
If true
, the component is disabled.
If true
, the component is disabled.
Attributes
The icon to display when empty.
The icon to display when empty.
Attributes
The label read when the rating input is empty.
The label read when the rating input is empty.
Attributes
Accepts a function which returns a string value that provides a user-friendly name for the current value of the rating. This is important for screen reader users.
Accepts a function which returns a string value that provides a user-friendly name for the current value of the rating. This is important for screen reader users.
For localization purposes, you can use the provided translations.
Value parameters
- {number}
-
value The rating label's value to format.
Attributes
If true
, only the selected icon will be highlighted.
If true
, only the selected icon will be highlighted.
Attributes
The icon to display.
The icon to display.
Attributes
Maximum rating.
Maximum rating.
Attributes
The name attribute of the radio input
elements. This input name
should be unique within the page. Being unique within a form is insufficient since the name
is used to generated IDs.
The name attribute of the radio input
elements. This input name
should be unique within the page. Being unique within a form is insufficient since the name
is used to generated IDs.
Attributes
Callback fired when the value changes.
Callback fired when the value changes.
Value parameters
- {React.SyntheticEvent}
-
event The event source of the callback.
- {number|null}
-
value The new value.
Attributes
Callback function that is fired when the hover state changes.
Callback function that is fired when the hover state changes.
Value parameters
- {React.SyntheticEvent}
-
event The event source of the callback.
- {number}
-
value The new value.
Attributes
The minimum increment value change allowed.
The minimum increment value change allowed.
Attributes
Removes all hover effects and pointer events.
Removes all hover effects and pointer events.
Attributes
The system prop that allows defining system overrides as well as additional CSS styles.
The system prop that allows defining system overrides as well as additional CSS styles.
Attributes
The rating value.
The rating value.
Attributes
Inherited methods
Attributes
- Inherited from:
- PropTypes
Inherited fields
Attributes
- Inherited from:
- PropTypes