import React from 'react'; interface SpacerProps { size?: number; } const styles = { padding: '15px 0', height: '1px' }; const Comp = ({ ...props }): JSX.Element => (