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

14 lines
218 B
JavaScript
Raw Normal View History

2022-02-19 17:01:05 +01:00
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
)
export default WebLink