fix email button

This commit is contained in:
Helena
2025-08-29 10:27:12 +03:00
parent 5cf29447b3
commit da9658ad7a
2 changed files with 21 additions and 5 deletions

View File

@@ -0,0 +1,16 @@
import { Button } from '@react-email/components';
export function EmailButton(
props: React.PropsWithChildren<{
href: string;
}>,
) {
return (
<Button
className="hover:bg-primary/90 inline-flex w-full items-center justify-center gap-1 rounded bg-[#16a249] py-3 text-center text-[16px] font-semibold whitespace-nowrap text-white no-underline shadow-xs transition-colors focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50"
href={props.href}
>
{props.children}
</Button>
);
}