@comparaonline/ui-reviews-card
Installation
yarn add @comparaonline/ui-reviews-card
Usage
import Button from '@comparaonline/ui-reviews-card';
prop | required | type | description |
---|---|---|---|
avatarUrl |
false |
string |
User avatar image url |
username |
true |
string |
Username |
date |
true |
string |
Rating date |
rating |
true |
number |
Rating value |
content |
true |
string |
Rating comment |
expandContentText |
true |
string |
Expand comment action text |
collapseContentText |
true |
string |
Collapse comment action text |