Skip to content

Instantly share code, notes, and snippets.

@Tushkiz
Last active January 17, 2024 09:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tushkiz/ba887886927bcc97926ef36894b693a2 to your computer and use it in GitHub Desktop.
Save Tushkiz/ba887886927bcc97926ef36894b693a2 to your computer and use it in GitHub Desktop.
Portrait Meeting Layout using Dyte
export default function PortraitMeeting() {
const { meeting } = useDyteMeeting();
return (
<div
style={{
display: 'flex',
flexDirection: 'column',
backgroundColor: 'rgb(0 0 0)',
height: '100%',
width: '100%',
}}
>
<DyteParticipantsAudio meeting={meeting} />
<div style={{ display: 'flex', flex: '1 1 0%' }}>
<DyteSimpleGrid
participants={[meeting.self]}
meeting={meeting}
aspectRatio="2:3"
gap={18}
/>
</div>
</div>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment