* 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
30 lines
595 B
JavaScript
30 lines
595 B
JavaScript
// @flow
|
|
import { Table, TBody, TR, TD } from "oy-vey";
|
|
import * as React from "react";
|
|
|
|
const EmptySpace = ({ height }: { height?: number }) => {
|
|
height = height || 16;
|
|
const style = {
|
|
lineHeight: `${height}px`,
|
|
fontSize: "1px",
|
|
msoLineHeightRule: "exactly",
|
|
};
|
|
|
|
return (
|
|
<Table width="100%">
|
|
<TBody>
|
|
<TR>
|
|
<TD
|
|
width="100%"
|
|
height={`${height}px`}
|
|
style={style}
|
|
dangerouslySetInnerHTML={{ __html: " " }}
|
|
/>
|
|
</TR>
|
|
</TBody>
|
|
</Table>
|
|
);
|
|
};
|
|
|
|
export default EmptySpace;
|