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

12 lines
201 B
JavaScript
Raw Normal View History

export const WebLink = ({ href, txt }) => (
2022-12-26 17:10:14 +01:00
<a
href={href}
className={`
font-medium text-secondary
2022-02-19 17:01:05 +01:00
hover:text-secondary-focus hover:underline`}
2022-12-26 17:10:14 +01:00
title={txt}
>
{txt}
</a>
2022-02-19 17:01:05 +01:00
)