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 |