mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-04 13:21:45 +00:00
Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com> Co-authored-by: Elias Schneider <login@eliasschneider.com>
27 lines
675 B
TypeScript
27 lines
675 B
TypeScript
import { Text } from "@react-email/components";
|
|
import { BaseTemplate } from "../components/base-template";
|
|
import CardHeader from "../components/card-header";
|
|
import { sharedPreviewProps, sharedTemplateProps } from "../props";
|
|
|
|
interface TestEmailProps {
|
|
logoURL: string;
|
|
appName: string;
|
|
}
|
|
|
|
export const TestEmail = ({ logoURL, appName }: TestEmailProps) => (
|
|
<BaseTemplate logoURL={logoURL} appName={appName}>
|
|
<CardHeader title="Test Email" />
|
|
<Text>Your email setup is working correctly!</Text>
|
|
</BaseTemplate>
|
|
);
|
|
|
|
export default TestEmail;
|
|
|
|
TestEmail.TemplateProps = {
|
|
...sharedTemplateProps,
|
|
};
|
|
|
|
TestEmail.PreviewProps = {
|
|
...sharedPreviewProps,
|
|
};
|