pangolin/server/emails/templates/components/ButtonLink.tsx
2025-01-04 22:38:10 -05:00

20 lines
438 B
TypeScript

import React from "react";
export default function ButtonLink({
href,
children,
className = ""
}: {
href: string;
children: React.ReactNode;
className?: string;
}) {
return (
<a
href={href}
className={`rounded-full bg-primary px-4 py-2 text-center font-semibold text-white text-xl no-underline inline-block ${className}`}
>
{children}
</a>
);
}