summaryrefslogtreecommitdiff
path: root/src/core/components/elements/Link/Link.jsx
blob: dbc65338dfdf1d6580a05a2ac8ab81d66667cf55 (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