Skip to content

Commit 8870f57

Browse files
chore: updated storybook
1 parent 68435f5 commit 8870f57

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
@@ -81,3 +81,32 @@ WithABACRoom.args = {
8181
reload: action('reload'),
8282
isABACRoom: true,
8383
};
84+
85+
export const WithInvitedMember = Template.bind({});
86+
WithInvitedMember.args = {
87+
loading: false,
88+
members: [
89+
{
90+
_id: 'rocket.cat',
91+
username: 'rocket.cat',
92+
roles: ['user'],
93+
subscription: {
94+
_id: 'sub-rocket.cat',
95+
status: 'INVITED',
96+
ts: '2025-01-01T00:00:00Z',
97+
},
98+
name: 'Rocket.Cat',
99+
},
100+
],
101+
text: 'filter',
102+
type: 'online',
103+
setText: action('Lorem Ipsum'),
104+
setType: action('online'),
105+
total: 123,
106+
loadMoreItems: action('loadMoreItems'),
107+
rid: '!roomId',
108+
isTeam: false,
109+
isDirect: false,
110+
reload: action('reload'),
111+
isABACRoom: true,
112+
};

0 commit comments

Comments
 (0)