Add a reviews example with a banned user

This commit is contained in:
Hannu Lyytikainen 2018-06-26 12:31:23 +03:00
parent e9e13a6f96
commit 1c80eb681a

View file

@ -18,3 +18,16 @@ export const WithThreeReviews = {
],
},
};
export const WithBannedUser = {
component: Reviews,
props: {
reviews: [
createReview(
'review_1',
{ rating: 1 },
{ author: createUser('author_1', { banned: true, profile: null }) }
),
],
},
};