mirror of
https://github.com/elyby/emails-renderer.git
synced 2024-06-30 11:33:19 +05:30
32 lines
872 B
React
32 lines
872 B
React
|
import styles from './styles';
|
||
|
|
||
|
import { Table } from './';
|
||
|
|
||
|
export default function Html(props) {
|
||
|
return (
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta name="viewport" content="width=device-width" />
|
||
|
<meta httpEquiv="Content-Type" content="text/html; charset=UTF-8" />
|
||
|
</head>
|
||
|
<body style={{
|
||
|
margin: 0
|
||
|
}}>
|
||
|
<Table style={styles.body}>
|
||
|
<tr>
|
||
|
<td>
|
||
|
|
||
|
</td>
|
||
|
<td style={styles.container}>
|
||
|
{props.children}
|
||
|
</td>
|
||
|
<td>
|
||
|
|
||
|
</td>
|
||
|
</tr>
|
||
|
</Table>
|
||
|
</body>
|
||
|
</html>
|
||
|
);
|
||
|
}
|