jsx import { jsx , jsx as JSX } from '@emotion/core' ; import React from 'react' ; export interface SpacerProps < T = HTMLDivElement > extends React . HTMLProps < T > { size ? : number ; vertical ? : boolean ; } export function Spacer ( { size = 8 , vertical = false } ) { return < div style = { vertical ? { display : 'inline-block' , width : size } : { height : size } } />; }