New call UI and controls

This commit is contained in:
ayumi-signal 2023-10-25 06:40:22 -07:00 committed by GitHub
parent 33c5c683c7
commit 8bb355f971
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 741 additions and 360 deletions

View file

@ -24,9 +24,7 @@ export default {
isGroupCall: false,
message: '',
participantCount: 0,
showParticipantsList: false,
title: 'With Someone',
toggleParticipants: action('toggle-participants'),
togglePip: action('toggle-pip'),
toggleSettings: action('toggle-settings'),
},
@ -52,14 +50,7 @@ export function WithParticipants(args: PropsType): JSX.Element {
}
export function WithParticipantsShown(args: PropsType): JSX.Element {
return (
<CallingHeader
{...args}
isGroupCall
participantCount={10}
showParticipantsList
/>
);
return <CallingHeader {...args} isGroupCall participantCount={10} />;
}
export function LongTitle(args: PropsType): JSX.Element {