isWaitingModalVisible
isWaitingModalVisible: boolean
onWaitingRoomClose
onWaitingRoomClose: () => void
waitingRoomCounter
waitingRoomCounter: number
onWaitingRoomFilterChange
onWaitingRoomFilterChange: (filter: string) => void
Optionalposition
position?: string
OptionalbackgroundColor
backgroundColor?: string
OptionalisDarkMode
isDarkMode?: boolean
OptionalenableGlassmorphism
enableGlassmorphism?: boolean
OptionalonWaitingRoomItemPress
Optionaltitle
title?: ReactNode
OptionaloverlayProps
overlayProps?: HTMLAttributes<HTMLDivElement>
OptionalcontentProps
contentProps?: HTMLAttributes<HTMLDivElement>
headerProps?: HTMLAttributes<HTMLDivElement>
OptionaltitleProps
titleProps?: HTMLAttributes<HTMLDivElement>
OptionalbadgeWrapperProps
badgeWrapperProps?: HTMLAttributes<HTMLDivElement>
OptionalbadgeProps
badgeProps?: HTMLAttributes<HTMLSpanElement>
closeButtonProps?: ButtonHTMLAttributes<HTMLButtonElement>
OptionalcloseIconComponent
closeIconComponent?: ReactNode
OptionalbodyProps
bodyProps?: HTMLAttributes<HTMLDivElement>
OptionalsearchWrapperProps
searchWrapperProps?: HTMLAttributes<HTMLDivElement>
searchInputProps?: InputHTMLAttributes<HTMLInputElement>
OptionalwaitingListProps
waitingListProps?: HTMLAttributes<HTMLDivElement>
OptionalparticipantRowProps
participantRowProps?: HTMLAttributes<HTMLDivElement>
acceptButtonProps?: ButtonHTMLAttributes<HTMLButtonElement>
rejectButtonProps?: ButtonHTMLAttributes<HTMLButtonElement>
OptionalacceptIconComponent
acceptIconComponent?: ReactNode
OptionalrejectIconComponent
rejectIconComponent?: ReactNode
OptionalemptyState
emptyState?: ReactNode | ((context: { counter: number }) => ReactNode)
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
Theme control - whether dark mode is active