@comparaonline/ui-reviews-stars-rating
v6.1.0
Published
## Installation
Downloads
65
Maintainers
Keywords
Readme
@comparaonline/ui-reviews-stars-rating
Installation
yarn add @comparaonline/ui-reviews-stars-rating
Usage
import StarsRating from '@comparaonline/ui-stars-rating';
<StarsRating
iconProps={{
color: 'red',
size: '1x'
}}
ratingProps={{
initialRating: 1,
stop: 3
}}
/>
| prop | required | type | description |
| ------------------ | -------- | -------- | --------------------------------- |
| iconProps
| false
| object
| ReactFontAwesome props https://github.com/FortAwesome/react-fontawesome |
| ratingProps
| false
| object
| React Rating props https://github.com/dreyescat/react-rating |