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

12 lines
258 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}
2022-12-26 17:10:14 +01:00
className={`font-medium text-secondary hover:text-secondary-focus hover:underline ${className}`}
title={txt}
>
{txt}
</Link>
2022-02-19 17:01:05 +01:00
)