's'
This commit is contained in:
16
components/NavigationLink.tsx
Normal file
16
components/NavigationLink.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
'use client'
|
||||
|
||||
import Link from 'next/link'
|
||||
|
||||
interface NavigationLinkProps {
|
||||
href: string
|
||||
children: React.ReactNode
|
||||
}
|
||||
|
||||
export function NavigationLink({ href, children }: NavigationLinkProps) {
|
||||
return (
|
||||
<Link href={href} className="flex items-center w-full">
|
||||
{children}
|
||||
</Link>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user