Review properties
Summary
Props table
Parameter |
Type |
Default |
---|---|---|
string |
/ |
|
string |
/ |
|
JSX.Element |
/ |
|
string |
/ |
|
default | link | facebook | twitter | google | linkedin | github |
/ |
|
number |
5 |
|
boolean |
false |
|
number |
0 |
|
star |circle |
'star' |
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 showed inside the component
url
Type |
Default |
---|---|
string |
/ |
Review external url. If set, an icon will be showed at the top right of the review
logo
Type |
Default |
---|---|
default | link | facebook | twitter | google | linkedin | github |
/ |
Social icon type, showed at the top right of the container. Supports popular web services like Facebook, Twitter, Google and so on. Proviced icon list will grow up time by time and will be updated with the latest web services, to keep it usable for the future.
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 showed vertically - extended from Rater component
rate
Type |
Default |
---|---|
number |
0 |
actual vote - extended from Rater component
rateType
Type |
Default |
---|---|
star |circle |
'star' |
vote icons type - extended from Rater component