RatingItemProps
Represents the properties of [RatingItem](% slug api_inputs_ratingitem %) component.
Name | Type | Default | Description |
---|---|---|---|
children? |
|
Determines the children nodes. | |
className? |
|
Sets additional classes to the RatingItem. | |
dir? |
|
Determines the RatingItem direction | |
half? |
|
Determines if icon is partly selected. | |
hovered? |
|
Determines if current RatingItem is hovered. | |
icon? |
|
Sets the icon of current RatingItem component. See example | |
id? |
|
Sets the | |
selected? |
|
Determines if current RatingItem is selected. See example | |
style? |
|
Sets additional CSS styles to the RatingItem. | |
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. |
Methods
onBlur | ||||||
---|---|---|---|---|---|---|
Triggered after | ||||||
|
onClick | ||||||
---|---|---|---|---|---|---|
Triggered after | ||||||
|
onFocus | ||||||
---|---|---|---|---|---|---|
Triggered after | ||||||
|
onKeyDown | ||||||
---|---|---|---|---|---|---|
Triggered after | ||||||
|
onMouseEnter | ||||||
---|---|---|---|---|---|---|
Triggered after | ||||||
|
onMouseLeave | ||||||
---|---|---|---|---|---|---|
Triggered after | ||||||
|
onMouseMove | ||||||
---|---|---|---|---|---|---|
Triggered after | ||||||
|