From ccc62bc65f9c4215514eb2e8cc5ff46fe3553327 Mon Sep 17 00:00:00 2001 From: Artem Date: Wed, 11 May 2022 12:09:04 +0100 Subject: [PATCH] Replace burger menu icon with gear icon (#178) --- src/components/appHeader/ConfigureButton.tsx | 3 ++- src/components/ui/icons.tsx | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/src/components/appHeader/ConfigureButton.tsx b/src/components/appHeader/ConfigureButton.tsx index 167baaa..db31e66 100644 --- a/src/components/appHeader/ConfigureButton.tsx +++ b/src/components/appHeader/ConfigureButton.tsx @@ -15,6 +15,7 @@ import { setCurrency, currencyType, } from "src/hooks/ONE-ETH-SwitcherHook"; +import { GearIcon } from "../ui/icons"; export function ConfigureButton() { const theme = useThemeMode(); @@ -23,7 +24,7 @@ export function ConfigureButton() { return ( } + label={} dropAlign={{ top: "bottom", right: "right" }} style={{ height: '32px', diff --git a/src/components/ui/icons.tsx b/src/components/ui/icons.tsx index e08c5e7..83f156e 100644 --- a/src/components/ui/icons.tsx +++ b/src/components/ui/icons.tsx @@ -104,3 +104,19 @@ export function LatencyIcon(props: IIconProps) { // // ); // } + +export function GearIcon(props: IIconProps) { + const theme = React.useContext(ThemeContext); + const { size = "24px", color = theme.global.palette.Grey } = props; + + return ( + + + + ); +}