Last active
January 17, 2024 09:15
-
-
Save Tushkiz/ba887886927bcc97926ef36894b693a2 to your computer and use it in GitHub Desktop.
Portrait Meeting Layout using Dyte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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