mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-01 09:29:38 +02:00
git-subtree-dir: ai-context/workbench-ui git-subtree-split: 32e36a5c2131e429a7081cfaf67dabad3193cda3
17 lines
337 B
TypeScript
17 lines
337 B
TypeScript
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;
|