summaryrefslogtreecommitdiff
path: root/src2/components/elements/Link.js
diff options
context:
space:
mode:
Diffstat (limited to 'src2/components/elements/Link.js')
-rw-r--r--src2/components/elements/Link.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/src2/components/elements/Link.js b/src2/components/elements/Link.js
new file mode 100644
index 00000000..065b5c9e
--- /dev/null
+++ b/src2/components/elements/Link.js
@@ -0,0 +1,13 @@
+import NextLink from "next/link";
+
+const Link = ({ children, ...props }) => {
+ return (
+ <NextLink {...props} scroll={false}>
+ {children}
+ </NextLink>
+ )
+}
+
+Link.defaultProps = NextLink.defaultProps
+
+export default Link \ No newline at end of file