mirror of
https://github.com/formbricks/formbricks.git
synced 2026-02-05 10:36:06 -06:00
18 lines
388 B
TypeScript
18 lines
388 B
TypeScript
import { Button } from "@react-email/components";
|
|
import React from "react";
|
|
|
|
interface EmailButtonProps {
|
|
label: string;
|
|
href: string;
|
|
}
|
|
|
|
export function EmailButton({ label, href }: EmailButtonProps): React.JSX.Element {
|
|
return (
|
|
<Button className="rounded-md bg-black px-6 py-3 text-sm text-white" href={href}>
|
|
{label}
|
|
</Button>
|
|
);
|
|
}
|
|
|
|
export default EmailButton;
|