Controls modal visibility
Optional
currentName of currently assigned co-host
List of event participants eligible for co-host assignment
Array of co-host responsibility items with enable/disable status
Optional
positionModal position on screen
Optional
backgroundModal background color
Room identifier for event
Optional
showAlert display function for user feedback
Customization:
Updates co-host responsibility settings
Sets new co-host by name
Toggles modal visibility state
Settings Handler:
Socket.io instance for real-time co-host updates
Callback when modal is closed
Co-Host Management:
Optional
onCustom handler for applying co-host settings (defaults to modifyCoHostSettings)
Session Context:
Optional
styleAdditional custom styles for modal container
Advanced Render Overrides:
Optional
renderCustom render function for modal content
Optional
renderCustom render function for modal container
Configuration options for the CoHostModal component.
CoHostModalOptions
Modal Control: