mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-02 02:58:10 +02:00
Squashed 'ai-context/workbench-ui/' content from commit 32e36a5c
git-subtree-dir: ai-context/workbench-ui git-subtree-split: 32e36a5c2131e429a7081cfaf67dabad3193cda3
This commit is contained in:
commit
a8390532f7
310 changed files with 56430 additions and 0 deletions
17
src/components/common/ExternalDocs.tsx
Normal file
17
src/components/common/ExternalDocs.tsx
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import React, { PropsWithChildren } from "react";
|
||||
|
||||
import { Link } from "@chakra-ui/react";
|
||||
|
||||
const ExternalDocs: React.FC<
|
||||
PropsWithChildren<{
|
||||
href: string;
|
||||
}>
|
||||
> = ({ href, children }) => {
|
||||
return (
|
||||
<Link href={href} target="_blank" colorPalette="accent">
|
||||
{children}
|
||||
</Link>
|
||||
);
|
||||
};
|
||||
|
||||
export default ExternalDocs;
|
||||
Loading…
Add table
Add a link
Reference in a new issue