feat: breadcrumbs for My Pages
This commit is contained in:
17
components/MyPages/Breadcrumbs/BreadcrumbWithLink.tsx
Normal file
17
components/MyPages/Breadcrumbs/BreadcrumbWithLink.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import Link from "@/components/TempDesignSystem/Link"
|
||||
|
||||
import styles from "./breadcrumbs.module.css"
|
||||
|
||||
export default function BreadcrumbsWithLink({
|
||||
children,
|
||||
href,
|
||||
}: React.PropsWithChildren<{ href: string }>) {
|
||||
return (
|
||||
<li className={styles.listItem}>
|
||||
<Link className={styles.link} href={href}>
|
||||
{children}
|
||||
</Link>
|
||||
<span aria-hidden="true">/</span>
|
||||
</li>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user