When joining an empty group call, the button should say "Start Call"

This commit is contained in:
Evan Hahn 2020-12-08 16:28:44 -06:00 committed by GitHub
parent 5b0e267fb2
commit 1d8c7a368e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 36 deletions

View file

@ -34,6 +34,7 @@ const createProps = (overrideProps: Partial<PropsType> = {}): PropsType => ({
hasLocalVideo: boolean('hasLocalVideo', overrideProps.hasLocalVideo || false),
i18n,
isGroupCall: boolean('isGroupCall', overrideProps.isGroupCall || false),
isCallFull: boolean('isCallFull', overrideProps.isCallFull || false),
me: overrideProps.me || {
color: 'ultramarine' as ColorType,
uuid: generateUuid(),
@ -147,3 +148,12 @@ story.add('Group Call - 4 peeked participants (participants list)', () => {
});
return <CallingLobby {...props} />;
});
story.add('Group Call - call full', () => {
const props = createProps({
isGroupCall: true,
isCallFull: true,
peekedParticipants: ['Sam', 'Cayce'].map(fakePeekedParticipant),
});
return <CallingLobby {...props} />;
});