RtkParticipantsToggle
A button which toggles visibility of participants.
When clicked it emits a rtkStateUpdate
event with the data:
{
activeSidebar: boolean;
sidebar: 'participants' | 'none';
}
<View>
<RtkParticipantsToggle meeting={meeting} size="sm" />
<RtkParticipantsToggle meeting={meeting} size="lg" />
<RtkParticipantsToggle meeting={meeting} variant="horizontal" size="sm" />
</View>
Props
iconPack
meeting
Meeting object
size
Size
Type
"lg" | "md" | "sm" | "xl"
states
States object
Type
States
t
variant
Variant
Default
'button'
Type
"button" | "horizontal"