RatingProps
Represents the properties of [Rating](% slug api_inputs_rating %) component.
Name | Type | Default | Description |
---|---|---|---|
ariaDescribedBy? |
|
Identifies the element(s) which will describe the component. jsx
| |
ariaLabelledBy? |
|
Identifies the element(s) which will label the component. jsx
| |
children? |
|
Determines the children nodes. jsx
| |
className? |
|
Adds custom CSS classes to the Rating. jsx
| |
defaultValue? |
|
Sets the default value of the Rating, used in uncontrolled mode. jsx
| |
dir? |
|
Specifies the direction of the Rating ( jsx
| |
disabled? |
|
Disables the Rating when set to jsx
| |
half? |
|
Determines if the value represents a half icon ( jsx
| |
icon? |
|
Sets a custom icon for the Rating. jsx
| |
id? |
|
Sets the jsx
| |
item? |
|
Represents the rendered Rating item. jsx
| |
label? |
|
Sets a custom label for the Rating. jsx
| |
max? |
|
Sets the maximum possible value of the Rating. jsx
| |
min? |
|
Sets the minimum possible value of the Rating. jsx
| |
name? |
|
Specifies the This property is part of the FormComponentProps interface. | |
onBlur? |
|
Fires when the Rating loses focus. jsx
| |
onChange? |
|
Fires when the value of the Rating changes. jsx
| |
onClick? |
|
Fires when the Rating is clicked. jsx
| |
onFocus? |
|
Fires when the Rating is focused. jsx
| |
onKeyDown? |
|
Fires when a key is pressed while the Rating is focused. jsx
| |
precision? |
|
Determines the precision of the Rating ( jsx
| |
readonly? |
|
Sets the jsx
| |
required? |
|
Specifies if This property is part of the FormComponentProps interface. | |
selection? |
|
Determines the selection mode of the Rating ( jsx
| |
step? |
|
Sets the step value between the minimum and maximum values. jsx
| |
style? |
|
Sets additional CSS styles to the Rating. jsx
| |
svgIcon? |
|
Sets a custom SVG icon for the Rating. jsx
| |
svgIconOutline? |
|
Sets a custom outline SVG icon for the Rating. jsx
| |
tabIndex? |
|
Sets the jsx
| |
valid? |
|
Overrides the validity state of the component.
If This property is part of the FormComponentProps interface. | |
validationMessage? |
|
Controls the form error message of the component. If set to an empty string, no error will be thrown. This property is part of the FormComponentProps interface. | |
validityStyles? |
|
If set to This property is part of the FormComponentProps interface. | |
value? |
|
Sets the current value of the Rating, used in controlled mode. jsx
|