Skip to content

Commit

Permalink
readd icons to page routes #10
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikHorn committed Feb 28, 2020
1 parent 71985dd commit 0d3c867
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/home/src/home.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}

Expand All @@ -11,6 +12,7 @@ export interface HomePageProps extends RouteComponentProps {}
export const HOME_ROUTE: AppRoute = {
path: AppPath.HOME,
displayName: 'Home',
icon: <HomeIcon />,
render: props => <HomePage {...props} />,
};

Expand Down
2 changes: 2 additions & 0 deletions packages/link/src/link.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}

Expand All @@ -12,6 +13,7 @@ export interface LinkPageProps extends RouteComponentProps {}
export const LINK_ROUTE: AppRoute = {
path: AppPath.LINK,
displayName: 'Useful Links',
icon: <LinkIcon />,
render: props => <LinkPage {...props} />,
};

Expand Down

0 comments on commit 0d3c867

Please sign in to comment.