mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-17 21:24:11 +00:00
v2 about (#362)
* chore: remove unused assets * feat: about ontime * refactor: cleanup unused
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import { ReactNode } from 'react';
|
||||
import { IoOpenOutline } from '@react-icons/all-files/io5/IoOpenOutline';
|
||||
|
||||
import style from './ModalLink.module.scss';
|
||||
|
||||
interface ModalLinkProps {
|
||||
href: string;
|
||||
children: ReactNode;
|
||||
}
|
||||
|
||||
export default function ModalLink(props: ModalLinkProps) {
|
||||
const { href, children } = props;
|
||||
return (
|
||||
<a href={href} target='_blank' rel='noreferrer' className={style.link}>
|
||||
{children} <IoOpenOutline />
|
||||
</a>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user