mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
feat: tab link component
This commit is contained in:
parent
72ff47e204
commit
cdbe00ec6f
1 changed files with 15 additions and 0 deletions
15
client/src/components/Messages/TabLink.jsx
Normal file
15
client/src/components/Messages/TabLink.jsx
Normal 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>
|
||||||
|
);
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue