DyteSidebar
A component which handles the sidebar and you can customize which sections you want, and which section you want as the default.
<Center>
  <DyteSidebar
    defaultSection="participants"
    meeting={meeting}
    style={{ height: '480px' }}
  />
</Center>
To see a mobile sidebar:
<div style={{ position: 'relative', height: '600px' }}>
  <DyteSidebar
    view="full-screen"
    defaultSection="participants"
    meeting={meeting}
    style={{ maxWidth: '360px', margin: 'auto' }}
  />
</div>
Props
config
defaultSection
Default section
Default
'chat'
Type
"chat" | "participants" | "plugins" | "polls"
enabledSections
Enabled sections in sidebar
Default
[]
Type
DyteSidebarTab[]
iconPack
meeting
Meeting object
Type
DyteClientsize
Size
Type
"lg" | "md" | "sm" | "xl"
states
States object
Type
Statest
view
View type
Default
'sidebar'
Type
"full-screen" | "sidebar"