isWaitingModalVisible
isWaitingModalVisible: boolean
onWaitingRoomClose
onWaitingRoomClose: (() => void)
waitingRoomCounter
waitingRoomCounter: number
onWaitingRoomFilterChange
onWaitingRoomFilterChange: ((filter: string) => void)
socket
socket: Socket<DefaultEventsMap, DefaultEventsMap>
Optionalposition
position?: string
OptionalbackgroundColor
backgroundColor?: string
OptionalonWaitingRoomItemPress
Optionaltitle
title?: ReactNode
OptionaloverlayProps
overlayProps?: HTMLAttributes<HTMLDivElement>
OptionalcontentProps
contentProps?: HTMLAttributes<HTMLDivElement>
OptionalheaderProps
headerProps?: HTMLAttributes<HTMLDivElement>
OptionaltitleProps
titleProps?: HTMLAttributes<HTMLDivElement>
OptionalbadgeWrapperProps
badgeWrapperProps?: HTMLAttributes<HTMLDivElement>
OptionalbadgeProps
badgeProps?: HTMLAttributes<HTMLSpanElement>
OptionalcloseButtonProps
closeButtonProps?: ButtonHTMLAttributes<HTMLButtonElement>
OptionalcloseIconComponent
closeIconComponent?: ReactNode
OptionalbodyProps
bodyProps?: HTMLAttributes<HTMLDivElement>
OptionalsearchWrapperProps
searchWrapperProps?: HTMLAttributes<HTMLDivElement>
OptionalsearchInputProps
searchInputProps?: InputHTMLAttributes<HTMLInputElement>
OptionalwaitingListProps
waitingListProps?: HTMLAttributes<HTMLDivElement>
OptionalparticipantRowProps
participantRowProps?: HTMLAttributes<HTMLDivElement>
OptionalacceptButtonProps
acceptButtonProps?: ButtonHTMLAttributes<HTMLButtonElement>
OptionalrejectButtonProps
rejectButtonProps?: ButtonHTMLAttributes<HTMLButtonElement>
OptionalacceptIconComponent
acceptIconComponent?: ReactNode
OptionalrejectIconComponent
rejectIconComponent?: ReactNode
OptionalemptyState
emptyState?: ReactNode | ((context: {
counter: number;
}) => ReactNode)
OptionalrenderHeader
renderHeader?: ((options: {
defaultHeader: ReactNode;
counter: number;
onClose: (() => void);
}) => ReactNode)
OptionalrenderSearch
renderSearch?: ((options: {
defaultSearch: ReactNode;
onFilter: ((value: string) => void);
}) => ReactNode)
OptionalrenderParticipant
renderParticipant?: ((options: { participant: WaitingRoomParticipant; index: number; defaultParticipant: ReactNode; handleAccept: (() => void); handleReject: (() => void); }) => ReactNode) OptionalrenderBody
renderBody?: ((options: {
defaultBody: ReactNode;
counter: number;
}) => ReactNode)