File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 11import Router , { Route , Switch , usePath } from "crossroad" ;
2- import { lazy , Suspense } from "react" ;
2+ import { lazy , ReactNode , Suspense } from "react" ;
33import { Container , Nav , Navbar } from "react-bootstrap" ;
44import { LoadingView } from "spring-persistent-tasks-ui" ;
5+ import * as Icon from "react-bootstrap-icons" ;
56
67const SchedulersPage = lazy ( ( ) => import ( "./scheduler/scheduler.page" ) ) ;
78const TriggersPage = lazy ( ( ) => import ( "./trigger/triggers.page" ) ) ;
@@ -26,6 +27,12 @@ const App = () => {
2627 { routes . map ( ( i ) => (
2728 < MenuLink key = { "link-" + i . path } item = { i } />
2829 ) ) }
30+ < Nav . Link
31+ href = "https://github.com/sterlp/spring-persistent-tasks"
32+ target = "_blank"
33+ >
34+ < Icon . Github />
35+ </ Nav . Link >
2936 </ Nav >
3037 </ Navbar . Collapse >
3138 </ Container >
@@ -49,7 +56,7 @@ const App = () => {
4956} ;
5057
5158interface MenuItem {
52- label : string ;
59+ label : string | ReactNode ;
5360 path : string ;
5461 component : React . FunctionComponent ;
5562}
You can’t perform that action at this time.
0 commit comments