1
0
Fork 0
freesewing/sites/shared/components/page-link.mjs
2023-07-16 17:15:10 +02:00

11 lines
230 B
JavaScript

import Link from 'next/link'
export const PageLink = ({ href, txt, className = '' }) => (
<Link
href={href}
className={`underline decoration-2 hover:decoration-4 ${className}`}
title={txt}
>
{txt}
</Link>
)