portfolio/components/ui/InlineLink.tsx

10 lines
299 B
TypeScript
Raw Normal View History

import {ReactNode} from 'react'
import Link from 'next/link'
export function InlineLink({href, children}: { href: string, children: ReactNode }) {
return (
2023-01-16 20:23:17 +00:00
<Link href={href} className="text-indigo-500 dark:text-indigo-400 hover:underline">
{children}
</Link>
)
}