import { ModuleTypes } from "../types/sceneTypes";
import PanelCtrl from "./panelCtrl";
import { AlertType } from "../components/AlertType";

export default (type: AlertType, message?) =>
    PanelCtrl.instance.show(ModuleTypes.ALERT_PANEL, { type: type, message: message });