mirror of
https://github.com/docmost/docmost.git
synced 2026-05-19 07:54:05 +08:00
eefe63d1cd
* fix comments on the frontend * move jwt token service to its own module * other fixes and updates
29 lines
728 B
TypeScript
29 lines
728 B
TypeScript
import { Section, Text } from '@react-email/components';
|
|
import * as React from 'react';
|
|
import { content, paragraph } from '../css/styles';
|
|
import { MailBody } from '../partials/partials';
|
|
|
|
interface Props {
|
|
invitedUserName: string;
|
|
invitedUserEmail: string;
|
|
}
|
|
|
|
export const InvitationAcceptedEmail = ({
|
|
invitedUserName,
|
|
invitedUserEmail,
|
|
}: Props) => {
|
|
return (
|
|
<MailBody>
|
|
<Section style={content}>
|
|
<Text style={paragraph}>Hi there,</Text>
|
|
<Text style={paragraph}>
|
|
{invitedUserName} ({invitedUserEmail}) has accepted your invitation,
|
|
and is now a member of the workspace.
|
|
</Text>
|
|
</Section>
|
|
</MailBody>
|
|
);
|
|
};
|
|
|
|
export default InvitationAcceptedEmail;
|