pronounsfu/frontend/components/BlueLink.tsx

15 lines
288 B
TypeScript
Raw Normal View History

2022-08-16 18:04:06 -07:00
import Link from "next/link";
export type Props = {
to: string;
children?: React.ReactNode;
};
export default function BlueLink({ to, children }: Props) {
return (
2022-11-19 07:52:52 -08:00
<Link href={to} className="hover:underline text-sky-500 dark:text-sky-400">
{children}
2022-08-16 18:04:06 -07:00
</Link>
);
}