We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56e259a commit 6aa074bCopy full SHA for 6aa074b
src/components/link/link.tsx
@@ -5,7 +5,12 @@ import NextLink from 'next/link';
5
import { styled } from './link.styles';
6
import { type Props } from './link.types';
7
8
-export default function Link({ href, children, ...restProps }: Props) {
+export default function Link({
9
+ href,
10
+ children,
11
+ prefetch = false,
12
+ ...restProps
13
+}: Props) {
14
return (
15
<styled.LinkBase {...restProps} $as={NextLink} href={href} disabled={!href}>
16
{children}
0 commit comments