From 46d15af7866b23b28922372ee62f7c0185f1ba39 Mon Sep 17 00:00:00 2001 From: Haider Alshamma Date: Fri, 6 Sep 2024 16:40:32 -0400 Subject: [PATCH] fix: improve types --- src/BrandedNavBar/MobileMenu.tsx | 5 ++--- src/BrandedNavBar/NavBarDropdownMenu.tsx | 2 -- src/Button/ControlIcon.tsx | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/BrandedNavBar/MobileMenu.tsx b/src/BrandedNavBar/MobileMenu.tsx index 3003d3990a..41b1b9a231 100644 --- a/src/BrandedNavBar/MobileMenu.tsx +++ b/src/BrandedNavBar/MobileMenu.tsx @@ -8,7 +8,6 @@ import { BrandingText } from "../Branding"; import { DropdownLink, DropdownText } from "../DropdownMenu"; import { Icon } from "../Icon"; import { Link } from "../Link"; -import { LinkProps } from "../Link/Link"; import { addStyledProps } from "../StyledProps"; import NulogyLogo from "./NulogyLogo"; import { TriggerFunctionProps } from "./TriggerFunctionProps"; @@ -163,7 +162,7 @@ const getSubMenuHeading = (layer, name) => type ThemeColorObject = { textColor?: string; background?: string; - logoColor?: string; + logoColor?: "white" | "blue"; }; type MenuItem = { @@ -237,7 +236,7 @@ const BaseMobileMenu: React.FC> = ( }) => (