Use the Rating component for display or interaction
mainThe Rating component serves two distinct purposes depending on your requirements:
- Non-interactive Display: Used to show a single user's rating or an aggregate score (e.g., for a product or service) without allowing user input.
- Interactive Input: Used to allow users to set their own star rating.
You can implement one or both functions within a single use case.