mirror of
https://github.com/elyby/emails-renderer.git
synced 2025-05-31 14:12:05 +05:30
Refactor for better support of Html tag rendering for emails
This commit is contained in:
21
src/components/BaseLayout.jsx
Normal file
21
src/components/BaseLayout.jsx
Normal file
@@ -0,0 +1,21 @@
|
||||
import styles from './styles';
|
||||
|
||||
import { Table } from 'components/table';
|
||||
|
||||
export default function BaseLayout(props) {
|
||||
return (
|
||||
<Table style={styles.body}>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
<td style={styles.container}>
|
||||
{props.children}
|
||||
</td>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</Table>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user