import React from "react";

export const Spinner = (props) => {
  return (
    <React.Fragment>
      <div className={props.show ? "overlay-loading" : "hide"}></div>
    </React.Fragment>
  );
};

export default Spinner;
