import { msg } from '@lingui/core/macro'; import { useLingui } from '@lingui/react'; import { Trans } from '@lingui/react/macro'; import { Body, Container, Head, Hr, Html, Link, Preview, Section, Text } from '../components'; import { TemplateBrandingLogo } from '../template-components/template-branding-logo'; import { TemplateFooter } from '../template-components/template-footer'; import type { TemplateResetPasswordProps } from '../template-components/template-reset-password'; import { TemplateResetPassword } from '../template-components/template-reset-password'; export type ResetPasswordTemplateProps = Partial; export const ResetPasswordTemplate = ({ userName = 'Lucas Smith', userEmail = 'lucas@documenso.com', assetBaseUrl = 'http://localhost:3002', }: ResetPasswordTemplateProps) => { const { _ } = useLingui(); const previewText = msg`Password Reset Successful`; return ( {_(previewText)}
Hi, {userName}{' '} ({userEmail}) We've changed your password as you asked. You can now sign in with your new password. Didn't request a password change? We are here to help you secure your account, just{' '} contact us .

); }; export default ResetPasswordTemplate;