Callback function to handle the closing of the modal.
Initial count of participants in the waiting room.
Function to handle changes in the search input.
List of participants in the waiting room.
Function to update the waiting room list.
Name of the room.
Socket instance for real-time communication.
Optional
positionPosition of the modal on the screen. Possible values: 'topLeft', 'topRight', 'bottomLeft', 'bottomRight', 'center'. Defaults to 'topRight'.
Optional
backgroundBackground color of the modal. Defaults to '#83c0e9'.
Additional parameters for the modal.
Optional
onFunction to handle participant item press. Defaults to respondToWaiting.
Flag to control the visibility of the modal.