blob: b2dbd02f9a75de85d8e7f53f31e1087887c981f4 (
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-danger-500 ${props?.className || ''}`}
>
{children}
</NextLink>
)
}
Link.defaultProps = NextLink.defaultProps
export default Link
|