mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-23 03:25:41 +00:00
10 lines
299 B
TypeScript
10 lines
299 B
TypeScript
import {ReactNode} from 'react'
|
|
import Link from 'next/link'
|
|
|
|
export function InlineLink({href, children}: { href: string, children: ReactNode }) {
|
|
return (
|
|
<Link href={href} className="text-indigo-500 dark:text-indigo-400 hover:underline">
|
|
{children}
|
|
</Link>
|
|
)
|
|
} |