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.
OptionalpositionPosition of the modal on the screen. Possible values: 'topLeft', 'topRight', 'bottomLeft', 'bottomRight', 'center'. Defaults to 'topRight'.
OptionalbackgroundBackground color of the modal. Defaults to '#83c0e9'.
Additional parameters for the modal.
OptionalonFunction to handle participant item press. Defaults to respondToWaiting.
OptionalstyleOptional custom style for the modal container.
OptionalrenderCustom render function for modal content.
OptionalrenderCustom render function for the modal container.
Flag to control the visibility of the modal.