isWaitingModalVisible
isWaitingModalVisible: boolean
onWaitingRoomClose
onWaitingRoomClose: (() => void)
waitingRoomCounter
waitingRoomCounter: number
onWaitingRoomFilterChange
onWaitingRoomFilterChange: ((filter: string) => void)
socket
socket: Socket<DefaultEventsMap, DefaultEventsMap>
Optional
position
position?: string
Optional
backgroundColor
backgroundColor?: string
Optional
onWaitingRoomItemPress
Optional
title
title?: ReactNode
Optional
overlayProps
overlayProps?: HTMLAttributes<HTMLDivElement>
Optional
contentProps
contentProps?: HTMLAttributes<HTMLDivElement>
Optional
headerProps
headerProps?: HTMLAttributes<HTMLDivElement>
Optional
titleProps
titleProps?: HTMLAttributes<HTMLDivElement>
Optional
badgeWrapperProps
badgeWrapperProps?: HTMLAttributes<HTMLDivElement>
Optional
badgeProps
badgeProps?: HTMLAttributes<HTMLSpanElement>
Optional
closeButtonProps
closeButtonProps?: ButtonHTMLAttributes<HTMLButtonElement>
Optional
closeIconComponent
closeIconComponent?: ReactNode
Optional
bodyProps
bodyProps?: HTMLAttributes<HTMLDivElement>
Optional
searchWrapperProps
searchWrapperProps?: HTMLAttributes<HTMLDivElement>
Optional
searchInputProps
searchInputProps?: InputHTMLAttributes<HTMLInputElement>
Optional
waitingListProps
waitingListProps?: HTMLAttributes<HTMLDivElement>
Optional
participantRowProps
participantRowProps?: HTMLAttributes<HTMLDivElement>
Optional
acceptButtonProps
acceptButtonProps?: ButtonHTMLAttributes<HTMLButtonElement>
Optional
rejectButtonProps
rejectButtonProps?: ButtonHTMLAttributes<HTMLButtonElement>
Optional
acceptIconComponent
acceptIconComponent?: ReactNode
Optional
rejectIconComponent
rejectIconComponent?: ReactNode
Optional
emptyState
emptyState?: ReactNode | ((context: {
counter: number;
}) => ReactNode)
Optional
renderHeader
renderHeader?: ((options: {
defaultHeader: ReactNode;
counter: number;
onClose: (() => void);
}) => ReactNode)
Optional
renderSearch
renderSearch?: ((options: {
defaultSearch: ReactNode;
onFilter: ((value: string) => void);
}) => ReactNode)
Optional
renderParticipant
renderParticipant?: ((options: { participant: WaitingRoomParticipant; index: number; defaultParticipant: ReactNode; handleAccept: (() => void); handleReject: (() => void); }) => ReactNode) Optional
renderBody
renderBody?: ((options: {
defaultBody: ReactNode;
counter: number;
}) => ReactNode)