compass/compass/components/InlineLink.tsx
2024-04-23 21:05:09 -04:00

20 lines
384 B
TypeScript

import React, { ReactNode } from "react";
interface Link {
href?: string;
children: ReactNode;
}
const InlineLink: React.FC<Link> = ({ href = "#", children }) => {
return (
<a
href={href}
className="text-sm text-purple-600 hover:underline font-semibold"
>
{children}
</a>
);
};
export default InlineLink;