OptionallocalLink
localLink?: string
OptionalconnectMediaSFU
connectMediaSFU?: boolean
OptionalreturnUI
returnUI?: boolean
OptionalnoUIPreJoinOptions
OptionalcreateMediaSFURoom
OptionalcontainerProps
containerProps?: HTMLAttributes<HTMLDivElement>
OptionallogoContainerProps
logoContainerProps?: HTMLAttributes<HTMLDivElement>
OptionallogoImageProps
logoImageProps?: ImgHTMLAttributes<HTMLImageElement>
OptionalinputContainerProps
inputContainerProps?: HTMLAttributes<HTMLDivElement>
OptionalorContainerProps
orContainerProps?: HTMLAttributes<HTMLDivElement>
OptionalorTextProps
orTextProps?: HTMLAttributes<HTMLSpanElement>
OptionaltoggleContainerProps
toggleContainerProps?: HTMLAttributes<HTMLDivElement>
OptionaltoggleButtonProps
toggleButtonProps?: ButtonHTMLAttributes<HTMLButtonElement>
OptionalcreateButtonProps
createButtonProps?: ButtonHTMLAttributes<HTMLButtonElement>
OptionaljoinButtonProps
joinButtonProps?: ButtonHTMLAttributes<HTMLButtonElement>
OptionalcreateNameInputProps
createNameInputProps?: InputHTMLAttributes<HTMLInputElement>
OptionaldurationInputProps
durationInputProps?: InputHTMLAttributes<HTMLInputElement>
OptionalcapacityInputProps
capacityInputProps?: InputHTMLAttributes<HTMLInputElement>
OptionaleventTypeSelectProps
eventTypeSelectProps?: SelectHTMLAttributes<HTMLSelectElement>
OptionaljoinNameInputProps
joinNameInputProps?: InputHTMLAttributes<HTMLInputElement>
OptionaleventIdInputProps
eventIdInputProps?: InputHTMLAttributes<HTMLInputElement>
OptionalerrorProps
errorProps?: HTMLAttributes<HTMLParagraphElement>
OptionalrenderContainer
renderContainer?: ((options: {
defaultContainer: ReactNode;
isCreateMode: boolean;
error: string;
}) => ReactNode)
OptionalrenderLogo
renderLogo?: ((options: {
defaultLogo: ReactNode;
}) => ReactNode)
OptionalrenderCreateForm
renderCreateForm?: ((options: {
defaultContent: ReactNode;
values: {
name: string;
duration: string;
eventType: string;
capacity: string;
};
submit: (() => Promise<void>);
setValues: {
onNameChange: ChangeEventHandler<HTMLInputElement>;
onDurationChange: ChangeEventHandler<HTMLInputElement>;
onEventTypeChange: ChangeEventHandler<HTMLSelectElement>;
onCapacityChange: ChangeEventHandler<HTMLInputElement>;
};
}) => ReactNode)
OptionalrenderJoinForm
renderJoinForm?: ((options: {
defaultContent: ReactNode;
values: {
name: string;
eventID: string;
};
submit: (() => Promise<void>);
setValues: {
onNameChange: ChangeEventHandler<HTMLInputElement>;
onEventIDChange: ChangeEventHandler<HTMLInputElement>;
};
}) => ReactNode)
OptionalrenderToggle
renderToggle?: ((options: {
defaultToggle: ReactNode;
isCreateMode: boolean;
toggle: (() => void);
}) => ReactNode)
OptionalrenderError
renderError?: ((options: {
defaultError: ReactNode;
error: string;
}) => ReactNode)
OptionalrenderContent
renderContent?: ((options: {
defaultContent: ReactNode;
isCreateMode: boolean;
error: string;
}) => ReactNode)