From 088ca6ce7cb36b26981c719460f01f3da6e00198 Mon Sep 17 00:00:00 2001
From: Fred Carlsen <fred@sjelfull.no>
Date: Wed, 12 Dec 2018 13:08:52 +0100
Subject: Added a bunch of types

---
 packages/website/ts/@next/components/header.tsx | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

(limited to 'packages/website/ts/@next/components/header.tsx')

diff --git a/packages/website/ts/@next/components/header.tsx b/packages/website/ts/@next/components/header.tsx
index c4f30b7b3..3d9f2055c 100644
--- a/packages/website/ts/@next/components/header.tsx
+++ b/packages/website/ts/@next/components/header.tsx
@@ -27,6 +27,12 @@ interface NavItem {
     url?: string;
     id?: string;
     text?: string;
+    dropdownWidth?: number;
+    dropdownComponent?: React.ReactNode;
+}
+
+interface DropdownWrapInterface {
+    width?: number;
 }
 
 const mobileProductLinks = [
@@ -240,7 +246,7 @@ const LinkWrap = styled.div`
     }
 `;
 
-const DropdownWrap = styled.div`
+const DropdownWrap = styled.div<DropdownWrapInterface>`
     width: ${props => props.width || 280}px;
     padding: 15px 0;
     border: 1px solid transparent;
-- 
cgit v1.2.3

