1
Fork 0
mirror of https://github.com/Steffo99/unisteffo.git synced 2024-11-25 01:14:21 +00:00
triennale-appunti-steffo/old_components/link.jsx

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