Skip to content

Commit

Permalink
feat(config): add notification icon
Browse files Browse the repository at this point in the history
  • Loading branch information
itschip committed Oct 9, 2022
1 parent 576b36a commit 526466b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 6 additions & 2 deletions icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@ import React from 'react';
import CurrencyBitcoinIcon from '@mui/icons-material/CurrencyBitcoin';

export const AppIcon = () => {
return <CurrencyBitcoinIcon fontSize="large" />
}
return <CurrencyBitcoinIcon fontSize="large" />;
};

export const NotificationIcon = () => {
return <CurrencyBitcoinIcon fontSize="small" />;
};
3 changes: 2 additions & 1 deletion npwd.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import App from './src/App';
import { AppIcon } from './icon';
import { AppIcon, NotificationIcon } from './icon';

const defaultLanguage = 'en';
const localizedAppName = {
Expand All @@ -17,5 +17,6 @@ export default (settings: Settings) => ({
backgroundColor: '#ff7300',
path: '/crypto',
icon: AppIcon,
notificationIcon: NotificationIcon,
app: App,
});

0 comments on commit 526466b

Please sign in to comment.