mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
10 lines
282 B
TypeScript
10 lines
282 B
TypeScript
import type { PropsWithChildren } from 'react';
|
|
|
|
export function DocumentationLink({ children, href }: PropsWithChildren<{ readonly href: string }>) {
|
|
return (
|
|
<a className="text-blurple" href={href} rel="external noreferrer noopener" target="_blank">
|
|
{children}
|
|
</a>
|
|
);
|
|
}
|