From f0c03a9b8e15387c4defd0a0e3e0298324406fae Mon Sep 17 00:00:00 2001
From: flu0r1ne <flu0r1ne@flu0r1ne.net>
Date: Mon, 28 Aug 2023 21:33:44 -0500
Subject: Add wg2nd

---
 components/Breadcrumbs/index.tsx | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

(limited to 'components/Breadcrumbs/index.tsx')

diff --git a/components/Breadcrumbs/index.tsx b/components/Breadcrumbs/index.tsx
index c5a17b8..d773b33 100644
--- a/components/Breadcrumbs/index.tsx
+++ b/components/Breadcrumbs/index.tsx
@@ -6,6 +6,7 @@ import clsx from 'clsx';
 export type BreadcrumbsProps = {
     className?: string;
     style?: object;
+    children: React.ReactNode;
 };
 
 const Breadcrumbs : FC<BreadcrumbsProps> = ({children, className, ...props}) => (
@@ -25,7 +26,11 @@ const Breadcrumbs : FC<BreadcrumbsProps> = ({children, className, ...props}) =>
     </span>
 );
 
-const Crumb : FC = ({children, ...props}) => (
+export type CrumbProps = {
+  children: React.ReactNode;
+};
+
+const Crumb : FC<CrumbProps> = ({children, ...props}) => (
     <span className={styles.crumb} {...props}>
         {children}
     </span>
@@ -33,12 +38,13 @@ const Crumb : FC = ({children, ...props}) => (
 
 export type LinkCrumbProps = {
     href: string;
+    children: React.ReactNode;
 }
 
 const LinkCrumb : FC<LinkCrumbProps> = ({children, href, ...props}) => (
     <Crumb>
         <Link href={href}>
-            <a>{children}</a>
+            {children}
         </Link>
     </Crumb>
 );
@@ -47,4 +53,4 @@ export {
     Crumb,
     Breadcrumbs,
     LinkCrumb
-};
\ No newline at end of file
+};
-- 
cgit v1.2.3

