RatingItemProps
Represents the properties of [RatingItem](% slug api_inputs_ratingitem %) component.
Name | Type | Default | Description |
---|---|---|---|
dir? |
|
Determines the RatingItem direction | |
half? |
|
Determines if icon is partly selected. | |
haveSelectedValue? |
|
Determines if some of the RatingItems are selected. See example | |
hovered? |
|
Determines if current RatingItem is hovered. | |
icon? |
|
Sets the icon of current RatingItem component. See example | |
id? |
|
Sets the | |
onBlur? |
|
Triggered after | |
onClick? |
|
Triggered after | |
onFocus? |
|
Triggered after | |
onKeyDown? |
|
Triggered after | |
onMouseEnter? |
|
Triggered after | |
onMouseLeave? |
|
Triggered after | |
onMouseMove? |
|
Triggered after | |
selected? |
|
Determines if current RatingItem is selected. See example | |
svgIcon? |
|
Sets custom Rating SVG icon. | |
svgIconOutline? |
|
Sets custom Rating SVG icon. | |
tabIndex? |
|
Sets the | |
title? |
|
Sets the title of current RatingItem component. See example | |
value |
|
Sets the current value of the RatingItem, used in controlled mode. |