mirror of
https://github.com/docmost/docmost.git
synced 2025-11-20 17:21:09 +10:00
* fix comments on the frontend * move jwt token service to its own module * other fixes and updates
24 lines
604 B
TypeScript
24 lines
604 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 {
|
|
username?: string;
|
|
}
|
|
|
|
export const ChangePasswordEmail = ({ username }: Props) => {
|
|
return (
|
|
<MailBody>
|
|
<Section style={content}>
|
|
<Text style={paragraph}>Hi {username},</Text>
|
|
<Text style={paragraph}>
|
|
This is a confirmation that your password has been changed.
|
|
</Text>
|
|
</Section>
|
|
</MailBody>
|
|
);
|
|
};
|
|
|
|
export default ChangePasswordEmail;
|