import { MagnifyingGlass } from "react-loader-spinner";
import "./LoaderSpace.scss";

export default function LoaderSpace({ isVisible }) {
  return (
    <div className="loader-space-container">
      <MagnifyingGlass
        visible={isVisible}
        height="100"
        width="100"
        ariaLabel="magnifying-glass-loading"
        wrapperStyle={{}}
        wrapperClass="magnifying-glass-wrapper"
        glassColor="#ffffff"
        color="#7B6A9C"
      />
    </div>
  );
}
