1
0
Fork 0
freesewing/sites/shared/components/page-link.mjs

12 lines
230 B
JavaScript
Raw Normal View History

2022-02-19 17:01:05 +01:00
import Link from 'next/link'
export const PageLink = ({ href, txt, className = '' }) => (
<Link
href={href}
2023-07-16 17:15:10 +02:00
className={`underline decoration-2 hover:decoration-4 ${className}`}
title={txt}
>
{txt}
</Link>
2022-02-19 17:01:05 +01:00
)