1
Fork 0
mirror of https://github.com/Steffo99/unisteffo.git synced 2024-11-21 15:34:21 +00:00
triennale-appunti-steffo/components/link.jsx
2022-02-04 06:04:59 +01:00

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>
)
}