summaryrefslogtreecommitdiff
path: root/src/core/components/elements/Link/Link.jsx
blob: 897cf6d7a528ce7f89f3ee9a9873dd87e712b82d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import NextLink from "next/link"

const Link = ({ children, ...props }) => {
  return (
    <NextLink 
      {...props} 
      scroll={false}
      className={`block font-medium text-red_r-11 ${props?.className || ''}`}
    >
      {children}
    </NextLink>
  )
}

Link.defaultProps = NextLink.defaultProps

export default Link