@comparaonline/ui-reviews-rating-stats
v6.1.0
Published
## Installation
Downloads
51
Maintainers
Keywords
Readme
@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 |