Review properties
Summary
Props table
Parameter |
Type |
Default |
---|---|---|
string |
/ |
|
string |
/ |
|
JSX.Element |
/ |
|
string |
/ |
|
JSX.Element | string |
/ |
|
number |
5 |
|
boolean |
false |
|
number |
0 |
|
JSX.Element |
/ |
|
JSX.Element |
/ |
Props list
user
Type |
Default |
---|---|
string |
/ |
Username displayed above the review description, at the right of the icon
description
Type |
Default |
---|---|
string |
/ |
Review description displayed below the review username, at the top of the rate
icon
Type |
Default |
---|---|
JSX.Element |
/ |
Icon displayed inside the component
url
Type |
Default |
---|---|
string |
/ |
Review external url. If set, an icon will be displayed at the top right of the review
logo
Type |
Default |
---|---|
JSX.Element | string |
/ |
Top icon, displayed at the top right of the container. If not provided, a default icon is displayed (if an url is provided too)
max
Type |
Default |
---|---|
number |
5 |
max vote (max number of icons displayed) - extended from Rater component
vertical
Type |
Default |
---|---|
boolean |
false |
if true
, rate icons will be displayed vertically - extended from Rater component
rate
Type |
Default |
---|---|
number |
0 |
actual vote - extended from Rater component
emptyIcon
Type |
Default |
---|---|
JSX.Element |
/ |
Empty rate icon, used to render the rate value. If not set, a standard unfilled star icon is used - extended from Rater component
fullIcon
Type |
Default |
---|---|
JSX.Element |
/ |
Full rate icon, used to render the rate value. If not set, a standard filled star icon is used - extended from Rater component