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