feat: links open in new tab

This commit is contained in:
Danny Avila 2023-03-10 09:44:40 -05:00
parent 0c62863e52
commit 6c02558f1b
2 changed files with 28 additions and 1 deletions

View file

@ -0,0 +1,15 @@
import React from 'react';
export default function TabLink(a) {
return (
<a
href={a.href}
title={a.title}
className={a.className}
target="_blank"
rel="noopener noreferrer"
>
{a.children}
</a>
);
}