refactor: add scroll prop to Link
This commit is contained in:
@@ -13,6 +13,7 @@ export default function Link({
|
||||
partialMatch = false,
|
||||
textDecoration,
|
||||
size,
|
||||
scroll = true,
|
||||
prefetch,
|
||||
variant,
|
||||
...props
|
||||
@@ -32,6 +33,7 @@ export default function Link({
|
||||
})
|
||||
return (
|
||||
<NextLink
|
||||
scroll={scroll}
|
||||
prefetch={prefetch}
|
||||
className={classNames}
|
||||
href={href}
|
||||
|
||||
Reference in New Issue
Block a user