isCoHostModalVisible
isCoHostModalVisible: boolean
OptionalcurrentCohost
currentCohost?: string
Optionalposition
position?: string
OptionalbackgroundColor
backgroundColor?: string
updateCoHostResponsibility
updateCoHost
updateCoHost: ((coHost: string) => void)
updateIsCoHostModalVisible
updateIsCoHostModalVisible: ((isCoHostModalVisible: boolean) => void)
socket
socket: Socket<DefaultEventsMap, DefaultEventsMap>
onCoHostClose
onCoHostClose: (() => void)
OptionalonModifyEventSettings
Optionaltitle
title?: ReactNode
OptionaloverlayProps
overlayProps?: HTMLAttributes<HTMLDivElement>
OptionalcontentProps
contentProps?: HTMLAttributes<HTMLDivElement>
OptionalheaderProps
headerProps?: HTMLAttributes<HTMLDivElement>
OptionaltitleProps
titleProps?: HTMLAttributes<HTMLDivElement>
OptionalcloseButtonProps
closeButtonProps?: ButtonHTMLAttributes<HTMLButtonElement>
OptionalcloseIconComponent
closeIconComponent?: ReactNode
OptionalheaderDividerProps
headerDividerProps?: HTMLAttributes<HTMLHRElement>
OptionalbodyProps
bodyProps?: HTMLAttributes<HTMLDivElement>
OptionalcurrentCoHostFieldProps
currentCoHostFieldProps?: HTMLAttributes<HTMLDivElement>
OptionalcurrentCoHostLabelProps
currentCoHostLabelProps?: LabelHTMLAttributes<HTMLLabelElement>
OptionalcurrentCoHostInputProps
currentCoHostInputProps?: InputHTMLAttributes<HTMLInputElement>
OptionalselectCoHostFieldProps
selectCoHostFieldProps?: HTMLAttributes<HTMLDivElement>
OptionalselectCoHostLabelProps
selectCoHostLabelProps?: LabelHTMLAttributes<HTMLLabelElement>
OptionalselectCoHostSelectProps
selectCoHostSelectProps?: SelectHTMLAttributes<HTMLSelectElement>
OptionalresponsibilitiesWrapperProps
responsibilitiesWrapperProps?: HTMLAttributes<HTMLDivElement>
OptionalresponsibilitiesHeaderRowProps
responsibilitiesHeaderRowProps?: HTMLAttributes<HTMLDivElement>
OptionalresponsibilityHeaderLabelProps
responsibilityHeaderLabelProps?: LabelHTMLAttributes<HTMLLabelElement>
OptionalresponsibilitySelectHeaderProps
responsibilitySelectHeaderProps?: LabelHTMLAttributes<HTMLLabelElement>
OptionalresponsibilityDedicatedHeaderProps
responsibilityDedicatedHeaderProps?: LabelHTMLAttributes<HTMLLabelElement>
OptionalresponsibilityRowProps
responsibilityRowProps?: HTMLAttributes<HTMLDivElement>
OptionalresponsibilityNameProps
responsibilityNameProps?: HTMLAttributes<HTMLDivElement>
OptionalresponsibilitySelectProps
responsibilitySelectProps?: HTMLAttributes<HTMLDivElement>
OptionalresponsibilityDedicatedProps
responsibilityDedicatedProps?: HTMLAttributes<HTMLDivElement>
OptionalresponsibilitySelectCheckboxProps
responsibilitySelectCheckboxProps?: InputHTMLAttributes<HTMLInputElement>
OptionalresponsibilityDedicatedCheckboxProps
responsibilityDedicatedCheckboxProps?: InputHTMLAttributes<HTMLInputElement>
OptionalfooterProps
footerProps?: HTMLAttributes<HTMLDivElement>
OptionalsaveButtonProps
saveButtonProps?: ButtonHTMLAttributes<HTMLButtonElement>
OptionalcurrentCoHostLabel
currentCoHostLabel?: ReactNode
OptionalselectCoHostLabel
selectCoHostLabel?: ReactNode
OptionalresponsibilityHeaderLabel
responsibilityHeaderLabel?: ReactNode
OptionalresponsibilitySelectLabel
responsibilitySelectLabel?: ReactNode
OptionalresponsibilityDedicatedLabel
responsibilityDedicatedLabel?: ReactNode
OptionalsaveButtonLabel
saveButtonLabel?: ReactNode
OptionalresponsibilityItems
responsibilityItems?: {
name: string;
label: ReactNode;
}[]
OptionalrenderHeader
renderHeader?: ((options: {
defaultHeader: ReactNode;
}) => ReactNode)
OptionalrenderBody
renderBody?: ((options: {
defaultBody: ReactNode;
}) => ReactNode)
OptionalrenderResponsibilities
renderResponsibilities?: ((options: {
defaultResponsibilities: ReactNode;
items: {
name: string;
label: ReactNode;
}[];
responsibilities: Record<string, boolean>;
toggleSelect: ((name: string) => void);
toggleDedicated: ((name: string) => void);
}) => ReactNode)
OptionalrenderResponsibilityRow
renderResponsibilityRow?: ((options: {
defaultRow: ReactNode;
item: {
name: string;
label: ReactNode;
};
index: number;
isSelected: boolean;
isDedicated: boolean;
toggleSelect: (() => void);
toggleDedicated: (() => void);
}) => ReactNode)
OptionalrenderFooter
renderFooter?: ((options: {
defaultFooter: ReactNode;
}) => ReactNode)
OptionalrenderContent
renderContent?: ((options: {
defaultContent: ReactNode;
}) => ReactNode)