
import {SpinnerContainer, SpinnerOverlay} from './with-spinner.styles'
const Spinner = ({defaultHeight, defaultSize}) => {
    return (  
    <SpinnerOverlay defaultHeight={defaultHeight}>
        <SpinnerContainer size={defaultSize}/>
    </SpinnerOverlay>
    )
}
 
export default Spinner