mirror of
https://github.com/Steffo99/unisteffo.git
synced 2024-11-21 15:34:21 +00:00
13 lines
415 B
JavaScript
13 lines
415 B
JavaScript
import NextLink from "next/link"
|
|
import { Anchor as BluelibLink } from "@steffo/bluelib-react"
|
|
|
|
|
|
export const Link = ({children, href, disabled = false, nextProps = {}, bluelibProps = {}}) => {
|
|
return (
|
|
<NextLink href={href} passHref={true} {...nextProps}>
|
|
<BluelibLink disabled={disabled} {...bluelibProps}>
|
|
{children}
|
|
</BluelibLink>
|
|
</NextLink>
|
|
)
|
|
}
|