MediaSFU React Native (Expo)
    Preparing search index...

    Interface LoadingModalOptions

    Configuration options for the LoadingModal component.

    LoadingModalOptions

    Modal Control:

    interface LoadingModalOptions {
        isVisible: boolean;
        backgroundColor?: string;
        displayColor?: string;
        style?: object;
        renderContent?: (
            options: {
                defaultContent: ReactNode;
                dimensions: { width: number; height: number };
            },
        ) => ReactNode;
        renderContainer?: (
            options: {
                defaultContainer: ReactNode;
                dimensions: { width: number; height: number };
            },
        ) => ReactNode;
    }
    Index

    Properties

    isVisible: boolean

    Controls modal visibility

    Styling:

    backgroundColor?: string

    Background color of the modal overlay

    displayColor?: string

    Color of the loading spinner and "Loading..." text

    style?: object

    Additional custom styles for the container

    Advanced Render Overrides:

    renderContent?: (
        options: {
            defaultContent: ReactNode;
            dimensions: { width: number; height: number };
        },
    ) => ReactNode

    Custom render function for modal content

    renderContainer?: (
        options: {
            defaultContainer: ReactNode;
            dimensions: { width: number; height: number };
        },
    ) => ReactNode

    Custom render function for modal container