Use: The user can use the rating component to display ratings. it comes with different star size
How to use a rating on the layout designer page:
Steps:
Goto component section
2. Search and select the rating component in the component section
3. Drag and drop rating component on layout
Configurations of a rating component
Value Destination Type: The user can bind a value to the rating component in two ways
Variable: The user can create a variable of type integer from the variable tab with a default value and can use such a variable as value to the rating component
Model: The user can create a model and use such model as value to the rating component. the model captures value from an object that we select while model creation
2. Read-only: The user can choose the rating component to be read-only on UI by checking a read-only checkbox in the layout configuration
3. Size: The user can choose the size of the rating component displayed on the UI. different sizes are available e.g xx-small, x-small, small, medium, large
4. Variant: The progress bar comes in five variants:
Neutral
Brand
Outline-brand
Destructive
Success