Fixed imports in pages

This commit is contained in:
MaxOvs19
2023-05-30 10:54:47 +03:00
parent 11b91ef627
commit 09babcb096
57 changed files with 345 additions and 349 deletions

View File

@ -0,0 +1,17 @@
import React from "react";
import SVGLoader from "react-loader-spinner";
import "./loader.scss";
export const Loader = ({ width = 50, height = 50, style }) => {
return (
<div className="loader">
<SVGLoader
type="Circles"
color={style ? style : `#fff`}
height={height}
width={width}
/>
</div>
);
};

View File

@ -0,0 +1,14 @@
.loader {
height: 100%;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
position: relative;
&:hover {
path {
fill: #6aaf5c;
}
}
}