15 lines
312 B
TypeScript
15 lines
312 B
TypeScript
import Link from "next/link";
|
|
import React from "react";
|
|
interface CustomLinkProps {
|
|
href: string;
|
|
label: string;
|
|
className?: string;
|
|
}
|
|
export default function CustomLink({href, label, className}: CustomLinkProps) {
|
|
return (
|
|
<Link href={href} className={className }>
|
|
{label}
|
|
</Link>
|
|
);
|
|
}
|