button loaders

This commit is contained in:
kurpfish
2021-08-18 16:18:11 +03:00
parent 288f060575
commit 8035687e2b
5 changed files with 33 additions and 20 deletions

View File

@ -1,14 +1,14 @@
import SVGLoader from "react-loader-spinner";
import './loader.css'
export const Loader = () => {
export const Loader = ({ width=50, height=50 }) => {
return (
<div className='loader'>
<SVGLoader
type="Circles"
color="#fff"
height={50}
width={50}
height={height}
width={width}
/>
</div>
);