Hiyve Components - v1.0.0
    Preparing search index...

    Interface WaitingRoomGuestRenderProps

    Render props for WaitingRoomGuest customization.

    interface WaitingRoomGuestRenderProps {
        renderActions?: (
            status: WaitingStatus,
            actions: {
                onCancel?: () => void;
                onExtendTimeout?: () => void;
                onLeave?: () => void;
                onRetry?: () => void;
            },
        ) => ReactNode;
        renderProgress?: (elapsed: number, total: number) => ReactNode;
        renderStatusIcon?: (status: WaitingStatus) => ReactNode;
    }
    Index

    Properties

    renderActions?: (
        status: WaitingStatus,
        actions: {
            onCancel?: () => void;
            onExtendTimeout?: () => void;
            onLeave?: () => void;
            onRetry?: () => void;
        },
    ) => ReactNode

    Custom renderer for the action buttons

    renderProgress?: (elapsed: number, total: number) => ReactNode

    Custom renderer for the progress bar

    renderStatusIcon?: (status: WaitingStatus) => ReactNode

    Custom renderer for the status icon/animation