mirror of https://github.com/sgoudham/website.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
364 B
TypeScript
22 lines
364 B
TypeScript
import Link from "next/link";
|
|
|
|
export const StyledLink = ({
|
|
className,
|
|
href,
|
|
children,
|
|
}: {
|
|
className?: string;
|
|
href: string;
|
|
children: React.ReactNode;
|
|
}) => {
|
|
return (
|
|
<Link
|
|
href={href}
|
|
className={`font-medium text-blue underline focus:ring-1 focus:ring-blue ${className ?? ""
|
|
}`}
|
|
>
|
|
{children}
|
|
</Link>
|
|
);
|
|
};
|