* chore: Upgrade Prettier 1.8 -> 2.0 * chore: Upgrade Babel 6 -> 7 * chore: Upgrade eslint plugins * chore: Add eslint import/order rules * chore: Update flow-typed deps
26 lines
459 B
JavaScript
26 lines
459 B
JavaScript
// @flow
|
|
import { Table, TBody, TR, TD } from "oy-vey";
|
|
import * as React from "react";
|
|
|
|
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>
|
|
);
|
|
};
|