summaryrefslogtreecommitdiff
path: root/src/components/elements/Link.js
blob: 065b5c9e441e1efc1dc6ee6706d099f2670df2c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import NextLink from "next/link";

const Link = ({ children, ...props }) => {
  return (
    <NextLink {...props} scroll={false}>
      {children}
    </NextLink>
  )
}

Link.defaultProps = NextLink.defaultProps

export default Link