import Loader, { LoaderType } from "./Loader";
import { VeryLightGray } from "../../../Types/BrandColors";
import React from "react";
const PageLoader = (props) => {
    if (props.isVisible) {
        return (React.createElement("div", { className: "m-auto w-full text-center w-max mt-52 align-middle flex items-center" },
            React.createElement(Loader, { loaderType: LoaderType.Bar, color: VeryLightGray, size: 200 })));
    }
    return React.createElement(React.Fragment, null);
};
export default PageLoader;
//# sourceMappingURL=PageLoader.js.map