mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-29 21:21:19 +10:00
Add a reviews example with a banned user
This commit is contained in:
parent
e9e13a6f96
commit
1c80eb681a
1 changed files with 13 additions and 0 deletions
|
|
@ -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 }) }
|
||||
),
|
||||
],
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue