This commit is contained in:
parent
23c4585bc1
commit
7bc6d002a9
90 changed files with 13401 additions and 1 deletions
18
src/link.tsx
Normal file
18
src/link.tsx
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import { ExternalLink } from "lucide-react";
|
||||
|
||||
/**
|
||||
* Executes Link.
|
||||
* @param props Parameter props.
|
||||
* @returns unknown.
|
||||
*/
|
||||
export default function Link(props: { link: string; label: string }) {
|
||||
return (
|
||||
<a
|
||||
target="_blank"
|
||||
href={props.link}
|
||||
className="flex gap-1.5 items-center justify-center text-primary border-b hover:border-primary border-transparent"
|
||||
>
|
||||
<ExternalLink size={17} /> {props.label}
|
||||
</a>
|
||||
);
|
||||
}
|
||||
Loading…
Reference in a new issue