@comparaonline/ui-reviews-rating-stats
Installation
yarn add @comparaonline/ui-reviews-rating-stats
Usage
import Button from '@comparaonline/ui-reviews-rating-stats';
prop | required | type | description |
---|---|---|---|
total |
true |
number |
Total ratings |
totalByValue |
true |
array of objects {value: string, total: number}. |
Total ratings by value |