* Add new package * Add twenty-emails package * Use generated files from twenty-emails in twenty-server * Fix deleted file * Import emails templates properly
17 lines
389 B
TypeScript
17 lines
389 B
TypeScript
import * as React from 'react';
|
|
import { Container, Html } from '@react-email/components';
|
|
import { BaseHead } from 'src/components/BaseHead';
|
|
import { Logo } from 'src/components/Logo';
|
|
|
|
export const BaseEmail = ({ children }) => {
|
|
return (
|
|
<Html lang="en">
|
|
<BaseHead />
|
|
<Container width={290}>
|
|
<Logo />
|
|
{children}
|
|
</Container>
|
|
</Html>
|
|
);
|
|
};
|