Openstatus www.openstatus.dev
at 4c0f4c00a38753a5d0dfd7e7b7b7706dec6f1503 19 lines 372 B view raw
1import { cn } from "@/lib/utils"; 2import NextLink from "next/link"; 3 4// TODO: we could add cva variants for the link 5 6export function Link({ 7 children, 8 className, 9 ...props 10}: React.ComponentProps<typeof NextLink>) { 11 return ( 12 <NextLink 13 className={cn("font-medium text-foreground", className)} 14 {...props} 15 > 16 {children} 17 </NextLink> 18 ); 19}