oy-vey
Version:
React utilities for building server-side email templates.
31 lines (26 loc) • 584 B
JSX
import React from 'react';
import {Table, TBody, TR, TD} from 'oy-vey';
import EmptySpace from './EmptySpace.jsx';
export default (props) => {
const textStyle = {
color: '#42444c',
backgroundColor: '#eeeeee',
fontFamily: 'Arial',
fontSize: '18px'
};
return (
<Table width="100%">
<TBody>
<TR>
<TD
align="center"
style={textStyle}>
<EmptySpace height={200} />
{props.children}
<EmptySpace height={200} />
</TD>
</TR>
</TBody>
</Table>
);
};