Controls modal visibility
OptionalcurrentName of currently assigned co-host
List of event participants eligible for co-host assignment
Array of co-host responsibility items with enable/disable status
OptionalpositionModal position on screen
OptionalbackgroundModal background color
Room identifier for event
OptionalshowAlert 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:
OptionalonCustom handler for applying co-host settings (defaults to modifyCoHostSettings)
Session Context:
OptionalstyleAdditional custom styles for modal container
Advanced Render Overrides:
OptionalrenderCustom render function for modal content
OptionalrenderCustom render function for modal container
Configuration options for the CoHostModal component.
CoHostModalOptions
Modal Control: