summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/NavigationBar.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-03-24 16:02:38 -0300
committerSebastian <sebasjm@gmail.com>2022-03-24 16:02:38 -0300
commitf45ef767016a425d04cce7755b27aceff292603c (patch)
tree8e6e2aa47bf282d3db08f54264f2c9db2179ba90 /packages/taler-wallet-webextension/src/NavigationBar.tsx
parent2c6b83ffea8d7b898d7ccb52b2b026c2e4ba6f24 (diff)
downloadwallet-core-f45ef767016a425d04cce7755b27aceff292603c.tar.gz
wallet-core-f45ef767016a425d04cce7755b27aceff292603c.tar.bz2
wallet-core-f45ef767016a425d04cce7755b27aceff292603c.zip
esbuild configuration
Diffstat (limited to 'packages/taler-wallet-webextension/src/NavigationBar.tsx')
-rw-r--r--packages/taler-wallet-webextension/src/NavigationBar.tsx15
1 files changed, 12 insertions, 3 deletions
diff --git a/packages/taler-wallet-webextension/src/NavigationBar.tsx b/packages/taler-wallet-webextension/src/NavigationBar.tsx
index 85e1f1884..680c34a9b 100644
--- a/packages/taler-wallet-webextension/src/NavigationBar.tsx
+++ b/packages/taler-wallet-webextension/src/NavigationBar.tsx
@@ -24,10 +24,15 @@
/**
* Imports.
*/
-import { VNode, h } from "preact";
+import { h, VNode } from "preact";
import { JustInDevMode } from "./components/JustInDevMode";
-import { NavigationHeader, NavigationHeaderHolder } from "./components/styled";
+import {
+ NavigationHeader,
+ NavigationHeaderHolder,
+ SvgIcon,
+} from "./components/styled";
import { useTranslationContext } from "./context/translation";
+import settingsIcon from "./svg/settings_black_24dp.svg";
/**
* List of pages used by the wallet
@@ -72,7 +77,11 @@ export function PopupNavBar({ path = "" }: { path?: string }): VNode {
</a>
<a />
<a href="/settings">
- <div class="settings-icon" title={i18n.str`Settings`} />
+ <SvgIcon
+ title={i18n.str`Settings`}
+ dangerouslySetInnerHTML={{ __html: settingsIcon }}
+ color="white"
+ />
</a>
</NavigationHeader>
);