Rating - Keep React

The Rating Component in the Keep React allows users to provide ratings for various items or content. It provides a visual representation of the rating using a set of stars or other symbols. With customizable options for the rating status, you can create rating components that accurately reflect user feedback.

Table of Contents#

Default Rating#

The "Default Rating" is a pre-configured or initial rating value within the context of a rating component. It represents the default score assigned to an item or content when a user hasn't provided a specific rating.

Rating Types#

You can use your own rating icon to display the rating star.

Value From Rating#

You can access the value from the rating.

Rating API Reference#

Explore the available props for the <Rating> component

PropertyDescriptionTypeDefault
handleRatingGet value from the ratingfunctionNone

Star API Reference#

Explore the available props for the <Rating.Star> component

PropertyDescriptionTypeDefault
valueSet value in the rating starnumber1
childrenPass your own icon as childrenReactNodeNone
classNameCustom class nameNone
inputStyleCustom class name for input stylesNone