import NextLink from 'next/link'

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

Link.defaultProps = NextLink.defaultProps

export default Link
