mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-26 03:35:38 -05:00
1af1a92fec
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com> Co-authored-by: Dhruwang <dhruwangjariwala18@gmail.com> Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com> Co-authored-by: Johannes <johannes@formbricks.com>
18 lines
380 B
TypeScript
18 lines
380 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-white" href={href}>
|
|
{label}
|
|
</Button>
|
|
);
|
|
}
|
|
|
|
export default EmailButton;
|