MediaSFU ReactJS
    Preparing search index...

    Interface LoadingModalOptions

    interface LoadingModalOptions {
        isVisible: boolean;
        backgroundColor?: string;
        displayColor?: string;
        loadingText?: ReactNode;
        showSpinner?: boolean;
        spinnerIcon?: IconDefinition;
        containerProps?: HTMLAttributes<HTMLDivElement>;
        contentProps?: HTMLAttributes<HTMLDivElement>;
        spinnerWrapperProps?: HTMLAttributes<HTMLDivElement>;
        spinnerProps?: FontAwesomeIconProps;
        textProps?: HTMLAttributes<HTMLDivElement>;
        renderSpinner?: (
            options: {
                defaultSpinner: ReactNode;
                isVisible: boolean;
                displayColor: string;
            },
        ) => ReactNode;
        renderContent?: (
            options: {
                defaultContent: ReactNode;
                isVisible: boolean;
                displayColor: string;
                loadingText: ReactNode;
            },
        ) => ReactNode;
    }
    Index

    Properties

    isVisible: boolean
    backgroundColor?: string
    displayColor?: string
    loadingText?: ReactNode
    showSpinner?: boolean
    spinnerIcon?: IconDefinition
    containerProps?: HTMLAttributes<HTMLDivElement>
    contentProps?: HTMLAttributes<HTMLDivElement>
    spinnerWrapperProps?: HTMLAttributes<HTMLDivElement>
    spinnerProps?: FontAwesomeIconProps
    textProps?: HTMLAttributes<HTMLDivElement>
    renderSpinner?: (
        options: {
            defaultSpinner: ReactNode;
            isVisible: boolean;
            displayColor: string;
        },
    ) => ReactNode
    renderContent?: (
        options: {
            defaultContent: ReactNode;
            isVisible: boolean;
            displayColor: string;
            loadingText: ReactNode;
        },
    ) => ReactNode