mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-18 10:36:22 +08:00
83ed215f4a
use `yarn af server dev:mail` to preview all mail template fix CLOUD-93
26 lines
610 B
TypeScript
26 lines
610 B
TypeScript
import { Content, Name, P, Template, Title } from '../components';
|
|
|
|
export type ChangeEmailNotificationProps = {
|
|
to: string;
|
|
};
|
|
|
|
export default function ChangeEmailNotification(
|
|
props: ChangeEmailNotificationProps
|
|
) {
|
|
return (
|
|
<Template>
|
|
<Title>Verify your current email for AFFiNE</Title>
|
|
<Content>
|
|
<P>
|
|
As per your request, we have changed your email. Please make sure
|
|
you're using <Name>{props.to}</Name> to log in the next time.
|
|
</P>
|
|
</Content>
|
|
</Template>
|
|
);
|
|
}
|
|
|
|
ChangeEmailNotification.PreviewProps = {
|
|
to: 'test@affine.pro',
|
|
};
|