Skip to content

Commit ea6118b

Browse files
chore: updated storybook
1 parent 2561caa commit ea6118b

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

apps/meteor/client/views/room/contextualBar/RoomMembers/RoomMembers.stories.tsx

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,32 @@ WithABACRoom.args = {
7171
reload: action('reload'),
7272
isABACRoom: true,
7373
};
74+
75+
export const WithInvitedMember = Template.bind({});
76+
WithInvitedMember.args = {
77+
loading: false,
78+
members: [
79+
{
80+
_id: 'rocket.cat',
81+
username: 'rocket.cat',
82+
roles: ['user'],
83+
subscription: {
84+
_id: 'sub-rocket.cat',
85+
status: 'INVITED',
86+
ts: '2025-01-01T00:00:00Z',
87+
},
88+
name: 'Rocket.Cat',
89+
},
90+
],
91+
text: 'filter',
92+
type: 'online',
93+
setText: action('Lorem Ipsum'),
94+
setType: action('online'),
95+
total: 123,
96+
loadMoreItems: action('loadMoreItems'),
97+
rid: '!roomId',
98+
isTeam: false,
99+
isDirect: false,
100+
reload: action('reload'),
101+
isABACRoom: true,
102+
};

0 commit comments

Comments
 (0)