15 lines
		
	
	
	
		
			288 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
		
		
			
		
	
	
			15 lines
		
	
	
	
		
			288 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
|  | import Link from "next/link"; | ||
|  | 
 | ||
|  | export type Props = { | ||
|  |   to: string; | ||
|  |   children?: React.ReactNode; | ||
|  | }; | ||
|  | 
 | ||
|  | export default function BlueLink({ to, children }: Props) { | ||
|  |   return ( | ||
|  |     <Link href={to} className="hover:underline text-sky-500 dark:text-sky-400"> | ||
|  |       {children} | ||
|  |     </Link> | ||
|  |   ); | ||
|  | } |