This component displays a list of participants waiting to be admitted to the room. Hosts can admit or reject individual participants, or admit all at once.
Context-aware: When used inside HiyveProvider, the component automatically:
useWaitingRoom() hookWhen used outside HiyveProvider (or with explicit props), pass participants,
onAdmit, and onReject directly.
The component supports three display variants:
popover: Shows as a dropdown attached to an anchor elementinline: Renders inline as part of the page layoutdialog: Shows as a modal dialogContext-connected usage (inside HiyveProvider):
<HiyveProvider generateRoomToken={generateToken}>
<WaitingRoomAdmittance
variant="popover"
anchorEl={anchorEl}
open={open}
onClose={() => setOpen(false)}
autoAdmitSystemUsers={true}
/>
</HiyveProvider>
WaitingRoomAdmittance - Host controls for managing the waiting room.