import { Body, Container, Head, Html, Preview, Section, } from '@react-email/components'; import * as React from 'react'; interface EmailLayoutProps { preview: string; children: React.ReactNode; } export const EmailLayout = ({ preview, children }: EmailLayoutProps) => { return ( {preview} {children} ); }; const main = { backgroundColor: '#f6f9fc', fontFamily: '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Ubuntu,sans-serif', }; const container = { backgroundColor: '#ffffff', margin: '0 auto', padding: '20px 0 48px', marginBottom: '64px', maxWidth: '600px', };