make things pretty
This commit is contained in:
9
packages/docs/app/components/external-link.tsx
Normal file
9
packages/docs/app/components/external-link.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import type { ComponentPropsWithoutRef } from "react"
|
||||
|
||||
export function ExternalLink(props: ComponentPropsWithoutRef<"a">) {
|
||||
return (
|
||||
<a target="_blank" rel="noopener noreferrer" {...props}>
|
||||
{props.children}
|
||||
</a>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user