Callback function to handle the closing of the modal.
Initial count of requests.
Function to handle the filter input changes.
Optional
onFunction to handle the action when a request item is pressed.
List of requests.
Function to update the request list.
Name of the room.
Socket instance for real-time communication.
Optional
renderComponent to render each request item. Defaults to RenderRequestComponent.
Optional
backgroundBackground color of the modal. Defaults to '#83c0e9'.
Optional
positionPosition of the modal on the screen. Possible values: 'topLeft', 'topRight', 'bottomLeft', 'bottomRight', 'center'. Defaults to 'topRight'.
Additional parameters for the modal.
Flag to control the visibility of the modal.