blob: 19e188ec23312afad65fcb8f33df85d6e5b1283e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// app configuration and main entry point for the app
import * as React from "react";
import { faLock } from '@fortawesome/free-solid-svg-icons'; // select app icon
import applicationManager from '../../../framework/src/services/applicationManager';
import { maintenanceAppRootHandler } from './handlers/maintenanceAppRootHandler';
import MaintenenceView from "./views/maintenenceView";
const App : React.SFC = (props) => {
return <MaintenenceView />
};
export function register() {
applicationManager.registerApplication({
name: "maintenanceApp",
icon: faLock,
rootComponent: App,
rootActionHandler: maintenanceAppRootHandler,
menuEntry: "Maintenance App"
});
}
|