From 0d3c8677446e43366135dcbc8a38d08c772f5d93 Mon Sep 17 00:00:00 2001 From: Dominik Horn Date: Fri, 28 Feb 2020 14:49:30 +0100 Subject: [PATCH] readd icons to page routes #10 --- packages/home/src/home.page.tsx | 2 ++ packages/link/src/link.page.tsx | 2 ++ 2 files changed, 4 insertions(+) diff --git a/packages/home/src/home.page.tsx b/packages/home/src/home.page.tsx index dffe5d5..4877add 100644 --- a/packages/home/src/home.page.tsx +++ b/packages/home/src/home.page.tsx @@ -2,6 +2,7 @@ import { FeatureFlag } from 'elite-components'; import { AppPath, AppRoute } from 'elite-types'; import * as React from 'react'; import { RouteComponentProps } from 'react-router'; +import HomeIcon from '@material-ui/icons/Home'; export interface HomePageProps extends RouteComponentProps {} @@ -11,6 +12,7 @@ export interface HomePageProps extends RouteComponentProps {} export const HOME_ROUTE: AppRoute = { path: AppPath.HOME, displayName: 'Home', + icon: , render: props => , }; diff --git a/packages/link/src/link.page.tsx b/packages/link/src/link.page.tsx index 21164c8..727cf15 100644 --- a/packages/link/src/link.page.tsx +++ b/packages/link/src/link.page.tsx @@ -3,6 +3,7 @@ import { LinkListItem } from 'elite-components'; import { AppPath, AppRoute } from 'elite-types'; import * as React from 'react'; import { RouteComponentProps } from 'react-router'; +import LinkIcon from '@material-ui/icons/Link'; export interface LinkPageProps extends RouteComponentProps {} @@ -12,6 +13,7 @@ export interface LinkPageProps extends RouteComponentProps {} export const LINK_ROUTE: AppRoute = { path: AppPath.LINK, displayName: 'Useful Links', + icon: , render: props => , };