import React from "react"; import { Body, Head, Html, Preview, Tailwind } from "@react-email/components"; import { themeColors } from "./lib/theme"; import { EmailContainer, EmailFooter, EmailGreeting, EmailHeading, EmailInfoSection, EmailLetterHead, EmailSection, EmailSignature, EmailText } from "./components/Email"; type IdentityApiKeyGeneratedProps = { orgName: string; accountLabel?: string | null; credential: string; resourceUrls: string[]; hasMoreResources: boolean; }; export const IdentityApiKeyGenerated = ({ orgName, accountLabel, credential, resourceUrls, hasMoreResources }: IdentityApiKeyGeneratedProps) => { const previewText = `Your personal identity key for ${orgName}`; return ( {previewText} Hi there, This is your personal identity key for{" "} {orgName}. It belongs to your account and identifies you when you use public AI gateways. Use it with resources your administrator has granted you, or that your role has access to. Treat this key like a password and do not share it. Your identity key:
{credential}
); }; export default IdentityApiKeyGenerated;