XeNote/components/UsefulLinks/UsefulLink.js

14 lines
356 B
JavaScript
Raw Normal View History

2023-12-29 23:20:43 +00:00
import ExternalLinkIcon from "../ExternalLinkIcon.js";
export function UsefulLink({ title, link }) {
return (
2023-12-30 16:42:21 +00:00
<a href={link} className="text-white">
2023-12-29 23:20:43 +00:00
<li className="flex w-full items-baseline gap-1">
<div>{title}</div>
2023-12-30 16:42:21 +00:00
<div className="border flex-1 h-0 border-dashed " />
2023-12-29 23:20:43 +00:00
<ExternalLinkIcon />
</li>
</a>
)
}