This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
outline/server/emails/components/Body.js

26 lines
459 B
JavaScript

// @flow
import * as React from 'react';
import { Table, TBody, TR, TD } from 'oy-vey';
import EmptySpace from './EmptySpace';
type Props = {
children: React.Node,
};
export default ({ children }: Props) => {
return (
<Table width="100%">
<TBody>
<TR>
<TD>
<EmptySpace height={10} />
{children}
<EmptySpace height={40} />
</TD>
</TR>
</TBody>
</Table>
);
};