Refactor for better support of Html tag rendering for emails

This commit is contained in:
SleepWalker
2016-09-11 11:12:46 +03:00
parent 0b35d908e8
commit c48620c36a
12 changed files with 48 additions and 36 deletions

View 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>
&nbsp;
</td>
<td style={styles.container}>
{props.children}
</td>
<td>
&nbsp;
</td>
</tr>
</Table>
);
}