import React from "react";
import { Text, Link } from "@react-email/components";
// import { User } from "@/server/modules/user/user.types";

type Props = {
    user: {
        name: string;
    };
    url: string;
};

export const VerifyEmailTemplate: React.FC<Props> = (props) => {
    const {
        user,
        url
    } = props;

    return (
        <>
            <Text>{user.name}</Text>

            <Link href={url}>
                Verify email
            </Link>
        </>
    );
};
