import React from "react";
import './ProgessBar.css';

interface ProgressBarProps {
  isLoading: boolean;
}

const ProgressBar: React.FC<ProgressBarProps> = ({ isLoading }) => {
  return <span className={isLoading ? "progressbar" : "progressbarInactive"} />;
};

export default ProgressBar;
