
import React, { Component } from 'react';

// import {ModalManager} from 'drivezy-web-utils/build/Utils';
// import ConfigureSettings from './../Components/Configure-Settings/configureSettings.component';

export default class SettingsUtil {
    _currentGlobalLoader = null;

    static registerModal(ref) {
        this._currentGlobalLoader = ref;
    }

    static openSpotlightModal() {
        if (this._currentGlobalLoader && this._currentGlobalLoader.openSpotlightModal) {
            this._currentGlobalLoader.openSpotlightModal();
        }
    }

    static configureModal() {
        // ModalManager.openModal({
        //     headerText: "Settings",
        //     modalBody: () => (<ConfigureSettings />),
        // })
    }
}