summaryrefslogtreecommitdiff
path: root/components/topnav.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'components/topnav.tsx')
-rw-r--r--components/topnav.tsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/components/topnav.tsx b/components/topnav.tsx
index 3e729ba..a46f38f 100644
--- a/components/topnav.tsx
+++ b/components/topnav.tsx
@@ -19,7 +19,12 @@ import {
import { GiHamburgerMenu } from "react-icons/gi"
import { DiGithubBadge } from "react-icons/di"
-function NavLink({to, children}) {
+type NavLinkType = {
+ to: string,
+ children: any,
+}
+
+function NavLink({to, children} : NavLinkType) {
return <a href={to} className={`mx-4`}>
{children}
</a>