OptionallocalLink
localLink?: string
connectMediaSFU?: boolean
OptionalreturnUI
returnUI?: boolean
OptionalnoUIPreJoinOptions
OptionalcontainerProps
containerProps?: HTMLAttributes<HTMLDivElement>
OptionallogoContainerProps
logoContainerProps?: HTMLAttributes<HTMLDivElement>
OptionallogoImageProps
logoImageProps?: ImgHTMLAttributes<HTMLImageElement>
inputContainerProps?: HTMLAttributes<HTMLDivElement>
OptionalorContainerProps
orContainerProps?: HTMLAttributes<HTMLDivElement>
OptionalorTextProps
orTextProps?: HTMLAttributes<HTMLSpanElement>
OptionaltoggleContainerProps
toggleContainerProps?: HTMLAttributes<HTMLDivElement>
toggleButtonProps?: ButtonHTMLAttributes<HTMLButtonElement>
createButtonProps?: ButtonHTMLAttributes<HTMLButtonElement>
joinButtonProps?: ButtonHTMLAttributes<HTMLButtonElement>
createNameInputProps?: InputHTMLAttributes<HTMLInputElement>
durationInputProps?: InputHTMLAttributes<HTMLInputElement>
capacityInputProps?: InputHTMLAttributes<HTMLInputElement>
OptionaleventTypeSelectProps
eventTypeSelectProps?: SelectHTMLAttributes<HTMLSelectElement>
joinNameInputProps?: InputHTMLAttributes<HTMLInputElement>
eventIdInputProps?: InputHTMLAttributes<HTMLInputElement>
OptionalerrorProps
errorProps?: HTMLAttributes<HTMLParagraphElement>
OptionalrenderContainer
renderContainer?: (
options: {
defaultContainer: ReactNode;
isCreateMode: boolean;
error: string;
},
) => ReactNode
OptionalrenderLogo
renderLogo?: (options: { defaultLogo: ReactNode }) => ReactNode
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
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